mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-22 17:02:58 +02:00
Gateway wurde bei fester IP-Vergabe nicht gesetzt.
Danke an "walter" fuer das Finden des Bugs. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@854 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -83,6 +83,10 @@ case "${1}" in
|
||||
echo -n "${DNS1}" > /var/ipfire/red/dns1
|
||||
echo -n "${DNS2}" > /var/ipfire/red/dns2
|
||||
|
||||
boot_mesg "Setting up default gateway ${GATEWAY}..."
|
||||
ip route add default via ${GATEWAY} dev ${DEVICE}
|
||||
evaluate_retval
|
||||
|
||||
run_subdir ${rc_base}/init.d/networking/red.up/
|
||||
|
||||
elif [ "${TYPE}" == "DHCP" ]; then
|
||||
|
||||
Reference in New Issue
Block a user