diff options
| author | maximilian attems <maks@debian.org> | 2005-10-01 02:33:30 +0200 |
|---|---|---|
| committer | maximilian attems <maks@debian.org> | 2005-10-01 02:33:30 +0200 |
| commit | a893fa82665ee472079292eb84a125ef81009124 (patch) | |
| tree | 540886f92c987fa65c7e74a9b4e98459ea554efc /init | |
| parent | 14739b596ae27800ae6ce071745cf2da382d73b4 (diff) | |
| download | initramfs-tools-a893fa82665ee472079292eb84a125ef81009124.tar.gz initramfs-tools-a893fa82665ee472079292eb84a125ef81009124.zip | |
apply all the 0.30 upstream changes.
Diffstat (limited to 'init')
| -rw-r--r-- | init | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,7 @@ #!/bin/sh +echo "Loading, please wait..." + mkdir /sys mkdir /proc mkdir /tmp @@ -22,6 +24,7 @@ export readonly=y export ROOT= export resume=${RESUME} export rootmnt=/root +export debug= for x in $(cat /proc/cmdline); do case $x in init=*) @@ -48,15 +51,19 @@ for x in $(cat /proc/cmdline); do rw) readonly=n ;; + debug) + debug=y + exec >/tmp/initramfs.debug 2>&1 + set -x + ;; break) break=yes ;; esac done -log_begin_msg "Running /scripts/init-top" +# Don't do log messages here to avoid confusing usplash run_scripts /scripts/init-top -log_end_msg . /scripts/${BOOT} |
