Remove bashism from the gentoo net script.

This commit is contained in:
Nicholas J. Kain 2010-11-13 16:12:17 -05:00
parent 75206dce13
commit f34fac92bd

View File

@ -55,10 +55,10 @@ ndhc_start()
# delay until carrier is up # delay until carrier is up
ip link set "${IFACE}" 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 while [ "$?" != "1" ]; do
sleep 1 sleep 1
ip link show "${IFACE}" | grep NO-CARRIER &> /dev/null ip link show "${IFACE}" | grep NO-CARRIER >/dev/null 2>&1
done done
eval "${x}" "${args}" -r `cat /etc/firewall/tmp/OLDEXTIP` \ eval "${x}" "${args}" -r `cat /etc/firewall/tmp/OLDEXTIP` \