parent
ebb49805fc
commit
bb96dc4e01
@ -112,8 +112,8 @@ runip()
|
|||||||
err=$(LC_ALL=C ip address add "$@" dev "$int" 2>&1)
|
err=$(LC_ALL=C ip address add "$@" dev "$int" 2>&1)
|
||||||
if [ -z "$err" ]; then
|
if [ -z "$err" ]; then
|
||||||
# ip does not bring up the interface when adding addresses
|
# ip does not bring up the interface when adding addresses
|
||||||
if ! intup; then
|
if ! $intup; then
|
||||||
ip set link up dev "$int"
|
ip link set "$int" up
|
||||||
intup=true
|
intup=true
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user