diff options
-rw-r--r-- | init | 2 | ||||
-rw-r--r-- | init_functions | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -17,7 +17,7 @@ mount -t tmpfs run /run -o nosuid,nodev,mode=0755 mkdir -m755 /run/initramfs # parse the kernel command line -parse_cmdline +parse_cmdline </proc/cmdline for d in ${disablehooks//,/ }; do [ -e "/hooks/$d" ] && chmod 644 "/hooks/$d" diff --git a/init_functions b/init_functions index ff6a3b4..dc4361a 100644 --- a/init_functions +++ b/init_functions @@ -72,7 +72,7 @@ run_hookfunctions() { parse_cmdline() { local _w _quoted _lhs _rhs _cmdline - read -r _cmdline </proc/cmdline + read -r _cmdline for _w in $_cmdline; do if [ -z "$_quoted" ]; then case $_w in |