aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pxcab/base-files/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-02-01 00:35:08 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-02-01 00:35:08 +0000
commit195d65dd871656c790f0cb4eb1f6e5eb03f8a726 (patch)
tree3c1bbe50c3f2fb0e1e82bab47d74ca8084176aee /target/linux/pxcab/base-files/lib
parent373b78cb28e086abe08d2f6d57f2f441fc5d862f (diff)
downloadupstream-195d65dd871656c790f0cb4eb1f6e5eb03f8a726.tar.gz
upstream-195d65dd871656c790f0cb4eb1f6e5eb03f8a726.tar.bz2
upstream-195d65dd871656c790f0cb4eb1f6e5eb03f8a726.zip
preinit: use grep -q where applicable
SVN-Revision: 19484
Diffstat (limited to 'target/linux/pxcab/base-files/lib')
-rw-r--r--target/linux/pxcab/base-files/lib/preinit/45_failsafe_pxcab2
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 "
ef='#n192'>192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231