summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init3
1 files changed, 2 insertions, 1 deletions
diff --git a/init b/init
index e1c6ac4..f2d6361 100644
--- a/init
+++ b/init
@@ -8,7 +8,8 @@ msg ":: Loading Initramfs"
/bin/mount -t sysfs none /sys
/bin/mount -t proc none /proc
-CMDLINE=$(/bin/cat /proc/cmdline)
+read CMDLINE </proc/cmdline
+export CMDLINE
for cmd in $CMDLINE; do
case "$cmd" in