a small scripting question

david nux at blueyonder.co.uk
Fri Apr 1 15:36:54 UTC 2005


Is the following a valid script?

#! /bin/sh
   route add -host 192.168.129.1 usbd0
   route delete -net 192.168.129.0/24 usbd0
   route add default gw 192.168.129.1
fi

If I save this and make it executable and put it in the appropriate rc.x
folder will it work? (This is for my zaurus not for my Ubuntu box).

Many thanks

David







More information about the ubuntu-users mailing list