diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-01 00:35:08 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-01 00:35:08 +0000 |
commit | 0c52c46c4b7e813aac875995ee07e1b5309c9337 (patch) | |
tree | 21c6515f31b29789c87322accbd4f86863482fc0 | |
parent | 30cb23c92dbdd963144d60010e595a4cd2526e50 (diff) |
[pxcab] preinit: use grep -q where applicable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19484 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/pxcab/base-files/lib/preinit/45_failsafe_pxcab | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/pxcab/base-files/lib/preinit/45_failsafe_pxcab b/target/linux/pxcab/base-files/lib/preinit/45_failsafe_pxcab index 97392774da..dd7330d5d7 100644 --- a/target/linux/pxcab/base-files/lib/preinit/45_failsafe_pxcab +++ b/target/linux/pxcab/base-files/lib/preinit/45_failsafe_pxcab @@ -4,7 +4,7 @@ failsafe_wait() { FAILSAFE= - grep 'failsafe=' /proc/cmdline > /dev/null && FAILSAFE=true && export FAILSAFE + grep -q 'failsafe=' /proc/cmdline && FAILSAFE=true && export FAILSAFE if [ "$FAILSAFE" != "true" ]; then preinit_net_echo "Please press button now to enter failsafe" echo -n "Press " |