diff options
-rw-r--r-- | init.d/network.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/network.in b/init.d/network.in index 7f64b171..0d45cb9b 100644 --- a/init.d/network.in +++ b/init.d/network.in @@ -112,8 +112,8 @@ runip() err=$(LC_ALL=C ip address add "$@" dev "$int" 2>&1) if [ -z "$err" ]; then # ip does not bring up the interface when adding addresses - if ! intup; then - ip set link up dev "$int" + if ! $intup; then + ip link set "$int" up intup=true fi return 0 |