diff options
author | maximilian attems <maks@debian.org> | 2006-07-24 09:13:28 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2006-07-24 09:13:28 +0200 |
commit | 8761821795732a9755d673e92fb45ac9202270df (patch) | |
tree | 2f6f5d1fc992df86554fa484e477a040ddf03d4c /scripts/functions | |
parent | 475bcbc9d6eefe90de6efe424bfb5bcca999fbc7 (diff) | |
download | initramfs-tools-8761821795732a9755d673e92fb45ac9202270df.tar.gz initramfs-tools-8761821795732a9755d673e92fb45ac9202270df.zip |
- add BUSYBOX section to conf
- add myri10ge, smc911x and hptiop modules
- fix check_minkver() logic
- escape resume variables
- fix SEE ALSO section in all manpages
- source /usr/share/initramfs-tools/conf.d/*
- check against modules.dep before running depmod
- more verbose output
- open console with -i for dash interactive
- fix resume param by LABEL or UUID
- lvm has new prereq mdadm
- update-initramfs fix -v calling
- functions/scripts replace basename usage with shell expansion
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions index 53e07ca..9e578d7 100644 --- a/scripts/functions +++ b/scripts/functions @@ -62,7 +62,7 @@ panic() modprobe -q i8042 modprobe -q atkbd echo $@ - PS1='(initramfs) ' /bin/sh </dev/console >/dev/console 2>&1 + PS1='(initramfs) ' /bin/sh -i </dev/console >/dev/console 2>&1 } maybe_break() @@ -84,7 +84,7 @@ set_initlist() if [ ! -x ${si_x} ]; then continue fi - initlist="${initlist} $(basename ${si_x})" + initlist="${initlist} ${si_x#${initdir}/}" done } @@ -168,6 +168,10 @@ reduce_prereqs() call_scripts() { for cs_x in ${runlist}; do + # mkinitramfs verbose output + if [ "${verbose}" = "y" ]; then + echo "Calling hook ${cs_x}" + fi ${initdir}/${cs_x} # allow boot scripts to modify exported boot paramaters if [ -e /conf/param.conf ]; then |