diff options
author | maximilian attems <maks@debian.org> | 2005-12-28 01:28:31 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2005-12-28 01:28:31 +0100 |
commit | e0de055ba1a1c32acb70f92ec65bf23139b73b8f (patch) | |
tree | d93f113647749a79b30457959dc79424bcfde600 /init | |
parent | 05982a63b2425a309325ba7a945a4bb11fd6146d (diff) | |
download | initramfs-tools-e0de055ba1a1c32acb70f92ec65bf23139b73b8f.tar.gz initramfs-tools-e0de055ba1a1c32acb70f92ec65bf23139b73b8f.zip |
fix passing of the debug param to init.
Diffstat (limited to 'init')
-rwxr-xr-x | init | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -105,6 +105,11 @@ while [ ! -x ${rootmnt}${init} ]; do panic "Target filesystem doesn't have ${init}" done +# Confuses /etc/init.d/rc +if [ -n ${debug} ]; then + unset debug +fi + # Chain to real filesystem maybe_break init exec run-init ${rootmnt} ${init} "$@" <${rootmnt}/dev/console >${rootmnt}/dev/console |