From 195d65dd871656c790f0cb4eb1f6e5eb03f8a726 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 1 Feb 2010 00:35:08 +0000 Subject: preinit: use grep -q where applicable SVN-Revision: 19484 --- target/linux/pxcab/base-files/lib/preinit/45_failsafe_pxcab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/pxcab') 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 9739277..dd7330d 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 " -- cgit v1.1