mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Revert "red: Fixes bug12763"
This reverts commit 9c28cd59c1.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
bafa45ed84
commit
d258c7a47a
@@ -129,10 +129,10 @@ case "${1}" in
|
||||
touch /var/ipfire/red/active
|
||||
|
||||
# Create route to default gateway
|
||||
ip route add ${GATEWAY} dev ${DEVICE} >/dev/null 2>&1
|
||||
ip route add ${GATEWAY} dev ${DEVICE}
|
||||
|
||||
boot_mesg "Setting up default gateway ${GATEWAY}..."
|
||||
ip route add default via ${GATEWAY} dev ${DEVICE} >/dev/null 2>&1
|
||||
ip route add default via ${GATEWAY} dev ${DEVICE}
|
||||
evaluate_retval
|
||||
|
||||
if [ -d "/sys/class/net/${DEVICE}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user