Remove bashism from the gentoo net script.
This commit is contained in:
parent
75206dce13
commit
f34fac92bd
4
ndhc.sh
4
ndhc.sh
@ -55,10 +55,10 @@ ndhc_start()
|
||||
|
||||
# delay until carrier is up
|
||||
ip link set "${IFACE}" up
|
||||
ip link show "${IFACE}" | grep NO-CARRIER &> /dev/null
|
||||
ip link show "${IFACE}" | grep NO-CARRIER >/dev/null 2>&1
|
||||
while [ "$?" != "1" ]; do
|
||||
sleep 1
|
||||
ip link show "${IFACE}" | grep NO-CARRIER &> /dev/null
|
||||
ip link show "${IFACE}" | grep NO-CARRIER >/dev/null 2>&1
|
||||
done
|
||||
|
||||
eval "${x}" "${args}" -r `cat /etc/firewall/tmp/OLDEXTIP` \
|
||||
|
Loading…
Reference in New Issue
Block a user