From f34fac92bd6e94796c56921bb7da502e750a28da Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" Date: Sat, 13 Nov 2010 16:12:17 -0500 Subject: [PATCH] Remove bashism from the gentoo net script. --- ndhc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ndhc.sh b/ndhc.sh index a80edad..be3c2dc 100644 --- a/ndhc.sh +++ b/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` \