diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-02-01 00:35:08 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-02-01 00:35:08 +0000 |
commit | 195d65dd871656c790f0cb4eb1f6e5eb03f8a726 (patch) | |
tree | 3c1bbe50c3f2fb0e1e82bab47d74ca8084176aee /target | |
parent | 373b78cb28e086abe08d2f6d57f2f441fc5d862f (diff) | |
download | master-31e0f0ae-195d65dd871656c790f0cb4eb1f6e5eb03f8a726.tar.gz master-31e0f0ae-195d65dd871656c790f0cb4eb1f6e5eb03f8a726.tar.bz2 master-31e0f0ae-195d65dd871656c790f0cb4eb1f6e5eb03f8a726.zip |
preinit: use grep -q where applicable
SVN-Revision: 19484
Diffstat (limited to 'target')
-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 " |