mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Fix fuer Red-Static.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@752 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -63,7 +63,7 @@ then
|
||||
|
||||
### Cleanup the system when red goes down ###
|
||||
/usr/local/bin/dialctrl.pl down
|
||||
rm -f /var/ipfire/red/iface
|
||||
rm -f /var/ipfire/red/{active,iface,*-ipaddress,dns*}
|
||||
|
||||
fi
|
||||
else
|
||||
|
||||
@@ -88,6 +88,7 @@ boot_mesg_flush
|
||||
NETADDRESS=${RED_NETADDRESS} BROADCAST=${RED_BROADCAST} \
|
||||
DNS1=${DNS1} DNS2=${DNS2} GATEWAY=${DEFAULT_GATEWAY} \
|
||||
/etc/rc.d/init.d/net/common/ipv4-static ${RED_DEV} up
|
||||
touch /var/ipfire/red/active
|
||||
fi
|
||||
|
||||
/usr/local/bin/dialctrl.pl up
|
||||
|
||||
Reference in New Issue
Block a user