diff options
| author | Jeff Bailey <jbailey@ubuntu.com> | 2005-06-14 21:39:18 +0000 |
|---|---|---|
| committer | Jeff Bailey <jbailey@ubuntu.com> | 2005-06-14 21:39:18 +0000 |
| commit | 43528be821f50d8676ba29d7e51be6915d74cfae (patch) | |
| tree | 92a2d45e2fc1672709b1b75fdbe7332375bbb11d /init | |
| parent | 433e18f414f120c3c28568114ea6854167fe7c74 (diff) | |
| download | initramfs-tools-43528be821f50d8676ba29d7e51be6915d74cfae.tar.gz initramfs-tools-43528be821f50d8676ba29d7e51be6915d74cfae.zip | |
export command line parameters to run scripts. honour commandline readonly/readwrite parameters for nfs. Release initramfs 0.8
Diffstat (limited to 'init')
| -rw-r--r-- | init | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 |
