Return to netstart CVS log | Up to [local] / src / etc |
version 1.85, 2002/05/16 20:48:25 | version 1.86, 2003/02/16 23:25:40 | ||
---|---|---|---|
|
|
||
# /etc/mygate, if it exists, contains the name of my gateway host | # /etc/mygate, if it exists, contains the name of my gateway host | ||
# that name must be in /etc/hosts. | # that name must be in /etc/hosts. | ||
if [ -f /etc/mygate ]; then | if [ -f /etc/mygate ]; then | ||
route delete default > /dev/null 2>&1 | |||
route -n add -host default `cat /etc/mygate` | route -n add -host default `cat /etc/mygate` | ||
fi | fi | ||