aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/ccwgroup.sh2
-rw-r--r--sh/udhcpc-hook.sh.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ccwgroup.sh b/net/ccwgroup.sh
index 9716c3c5..aaf7de6b 100644
--- a/net/ccwgroup.sh
+++ b/net/ccwgroup.sh
@@ -21,7 +21,7 @@ ccwgroup_load_modules()
# verify the specific interface is supported
if [ ! -d /sys/bus/ccwgroup/drivers/$1 ] ; then
- modprobe $1 >& /dev/null
+ modprobe $1 >/dev/null 2>&1
if [ ! -d /sys/bus/ccwgroup/drivers/$1 ] ; then
eerror "$1 support missing in kernel"
return 1
diff --git a/sh/udhcpc-hook.sh.in b/sh/udhcpc-hook.sh.in
index 1a581044..31f5e689 100644
--- a/sh/udhcpc-hook.sh.in
+++ b/sh/udhcpc-hook.sh.in
@@ -79,7 +79,7 @@ deconfig()
ifconfig "${interface}" 0.0.0.0
if ! peer_var "${PEER_ROUTERS}" ; then
- while route del default dev "${interface}" >& /dev/null; do
+ while route del default dev "${interface}" >/dev/null 2>&1; do
:
done
fi