ifconfig está deprecado hace años

This commit is contained in:
fauno 2020-09-18 16:23:57 -03:00
parent b394eb8458
commit f7161ad4bf

View File

@ -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