[CUBE] AppleScript for Issuing Command Line Command from Terminal

Alan Thompson athomp2 at mac.com
Sun Jun 15 10:20:31 PDT 2003


sounds like what you need to do is to set up a persistent route, or 
static route.  i don't know how to do this at the moment is os x, but 
i'm sure it's possible, and i bet accomplished via netinfo.  check 
google on static routes, or adding persistent routes.



On Sunday, June 15, 2003, at 10:01 AM, J. Torrey wrote:

>
> Does anyone have an AppleScript they can share with me on how to 
> execute a command line command in Terminal?  Specifically, I want to 
> execute the following command on a regular basis and don't want to 
> have to type it or copy/paste it every time I boot my machine:
>
> route -n add 192.168.253.0 192.168.123.4 255.255.255.0
>
> Thank you,
> Jason
>
>
> ----------
> Check out the Cube email list FAQ
> http://www.themacintoshguy.com/lists/Cube.html
>
> To unsubscribe, E-mail to: <Cube-off at lists.themacintoshguy.com>
> To switch to the DIGEST mode, E-mail to 
> <Cube-digest at lists.themacintoshguy.com>
> Need help from a real person? Try.  
> <Cube-request at lists.themacintoshguy.com>
>
> ----------
> $14.99 Unlimited Nationwide Mac Dialup and Mac Web Hosting from your 
> Mac ISP Serious Mac Internet Solutions From NineWire!   
> http://macinternetaccess.com
>
> T3Hub  |  3 Port USB Hub weighs less than an ounce!
> Dr. Bott|   <http://www.drbott.com/prod/T3Hub.html>
>
>   Cyberian   | Support this list when you buy at Outpost.com!
>   Outpost    | http://www.themacintoshguy.com/outpost.shtml
>
> ADC Extension | Extend the built in cable of your flat panel by 10 ft.
>  Dr. Bott    |    <http://www.drbott.com/prod/ADCExtension.html>



More information about the Cube mailing list