diff options
author | Jeff Bailey <jbailey@ubuntu.com> | 2005-06-30 00:04:16 +0000 |
---|---|---|
committer | Jeff Bailey <jbailey@ubuntu.com> | 2005-06-30 00:04:16 +0000 |
commit | af3ccf91e2ca354c65e45e34abd0f48fe11d7d39 (patch) | |
tree | 9f8a065aba833d59c83f515a0721dfbed7701a9f | |
parent | f12ad818ffc10d8243cd75d552226273df3d65a0 (diff) | |
download | initramfs-tools-af3ccf91e2ca354c65e45e34abd0f48fe11d7d39.tar.gz initramfs-tools-af3ccf91e2ca354c65e45e34abd0f48fe11d7d39.zip |
We
-rw-r--r-- | init | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -10,10 +10,11 @@ mount -t proc proc /proc . /scripts/functions # Parse command line options +export break= export init=/sbin/init -export root= +export quiet=n export readonly=y -export break= +export root= export rootmnt=/root for x in $(cat /proc/cmdline); do case $x in @@ -29,6 +30,9 @@ for x in $(cat /proc/cmdline); do boot=*) BOOT=${x#boot=} ;; + quiet) + quiet=y + ;; ro) readonly=y ;; @@ -41,22 +45,32 @@ for x in $(cat /proc/cmdline); do esac done +log_begin_msg "Running /script/init-top" run_scripts /scripts/init-top +log_end_msg . /scripts/${BOOT} +log_begin_msg "Loading modules" load_modules +log_end_msg # Populate /dev tree +log_begin_msg "Initializing /dev" udevstart +log_end_msg if [ x${break} = xyes ]; then panic "Spawning shell within the initramfs" fi +log_begin_msg "Mounting root file system" mountroot +log_end_msg +log_begin_msg "Running /scripts/init-bottom" run_scripts /scripts/init-bottom +log_end_msg umount /sys umount /proc |