ifconfig está deprecado hace años
This commit is contained in:
parent
b394eb8458
commit
f7161ad4bf
@ -1,10 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if which ip &>/dev/null ; then
|
||||
ip link set ${INTERFACE} up
|
||||
else
|
||||
ifconfig ${INTERFACE} up
|
||||
fi
|
||||
ip link set ${INTERFACE} up
|
||||
|
||||
cd `dirname "$0"`
|
||||
. ./run-script
|
||||
|
Loading…
x
Reference in New Issue
Block a user