summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-22 12:32:35 +0000
committerRoy Marples <roy@marples.name>2008-09-22 12:32:35 +0000
commit6748c0e04e30ba5a9b09b48373df32a747f0fbdc (patch)
tree410448eadd0d71faff4a6b77b047c5a9db406690 /sh
parent27805de20aae4618c77042761aaf87054f5671e8 (diff)
downloadopenrc-6748c0e04e30ba5a9b09b48373df32a747f0fbdc.tar.gz
openrc-6748c0e04e30ba5a9b09b48373df32a747f0fbdc.tar.bz2
openrc-6748c0e04e30ba5a9b09b48373df32a747f0fbdc.tar.xz
Allow forcefsck instead of gentoo=forcefsck on the kernel command line.
Diffstat (limited to 'sh')
-rw-r--r--sh/rc-functions.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/rc-functions.sh.in b/sh/rc-functions.sh.in
index 206d6c0..751d47a 100644
--- a/sh/rc-functions.sh.in
+++ b/sh/rc-functions.sh.in
@@ -58,6 +58,7 @@ get_bootparam()
set -- $(cat /proc/cmdline)
while [ -n "$1" ]; do
+ [ "$1" = "${match}" ] && return 0
case "$1" in
gentoo=*)
local params="${1##*=}"