aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rwxr-xr-xinit2
1 files changed, 2 insertions, 0 deletions
diff --git a/init b/init
index 80bab77..7b869cb 100755
--- a/init
+++ b/init
@@ -77,6 +77,8 @@ udevadm settle || true
# lines that don't contain quites. Finally, clean up by removing blank
# lines.
#
+# Note: the same code as in buildos.
+#
readarray -t cmdline < <(cat /proc/cmdline | \
sed -r -e "s/([^ ]+=)?('[^']*'|\"[^\"]*\")/\n\1\2\n/g" | \
sed -r -e "/['\"]/!s/ /\n/g" |