diff options
author | maximilian attems <maks@debian.org> | 2007-04-02 13:29:25 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2007-04-02 13:29:25 +0200 |
commit | c4343742b3bf028e467ac8a58ead95c9bfefc628 (patch) | |
tree | 9f99e841f9829111bc78f828be819fe9022428a0 /scripts/functions | |
parent | d21a00a23405d1db81ab05a12342145276ef2af0 (diff) | |
download | initramfs-tools-c4343742b3bf028e467ac8a58ead95c9bfefc628.tar.gz initramfs-tools-c4343742b3bf028e467ac8a58ead95c9bfefc628.zip |
first prerelease 0.86 + merge 0.85f
* kick mdrun script
* update control for lenny + ubuntu
* add _all_ ide, block and drivers
* use MODPROBE_OPTIONS and kill any modprobed arg
* small doc + whitespace fixes
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/functions b/scripts/functions index 7e67771..7ae9c78 100644 --- a/scripts/functions +++ b/scripts/functions @@ -60,11 +60,11 @@ panic() /sbin/usplash_write "QUIT" fi # Disallow console access - if [ "${panic}" = 0 ]; then + if [ -n "${panic}" ] && [ "${panic}" = 0 ]; then reboot fi - modprobe -q i8042 - modprobe -q atkbd + modprobe i8042 + modprobe atkbd echo $@ PS1='(initramfs) ' /bin/sh -i </dev/console >/dev/console 2>&1 } @@ -206,7 +206,7 @@ load_modules() if [ "$com" = "#" ]; then continue fi - modprobe -q $m + modprobe $m done fi } |