summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init14
1 files changed, 7 insertions, 7 deletions
diff --git a/init b/init
index 733e7fd..31a16c0 100644
--- a/init
+++ b/init
@@ -19,11 +19,11 @@ mount -t proc proc /proc
. /scripts/functions
# Parse command line options
-init=/sbin/init
-root=
-ro=-r
-break=
-rootmnt=/root
+export init=/sbin/init
+export root=
+export readonly=y
+export break=
+export rootmnt=/root
for x in $(cat /proc/cmdline); do
case $x in
init=*)
@@ -39,10 +39,10 @@ for x in $(cat /proc/cmdline); do
BOOT=${x#boot=}
;;
ro)
- ro=-r
+ readonly=yes
;;
rw)
- ro=-w
+ readonly=no
;;
break)
break=yes