diff options
author | maximilian attems <maks@debian.org> | 2005-12-06 01:19:57 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2005-12-06 01:19:57 +0100 |
commit | de53fe8336d09076a1330b7d5793689e587bcd1c (patch) | |
tree | d38bf22920aff931ebaae8edeca2dd61216efc51 /hooks | |
parent | 94cdc6efb0303ed4d3db0c7ebd15d08dd935957c (diff) | |
download | initramfs-tools-de53fe8336d09076a1330b7d5793689e587bcd1c.tar.gz initramfs-tools-de53fe8336d09076a1330b7d5793689e587bcd1c.zip |
fix hooks/kernelextras not include current dir with wildcard.
break out of loop on the '*' case.
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/kernelextras | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hooks/kernelextras b/hooks/kernelextras index df38884..33e6cb0 100755 --- a/hooks/kernelextras +++ b/hooks/kernelextras @@ -19,16 +19,16 @@ esac . /usr/share/initramfs-tools/hook-functions -if [ ! -d ${MODULESDIR}/initrd ]; then - exit 0 -fi - fbcon=n +set -x for x in ${MODULESDIR}/initrd/*; do x=${x##*/} x=${x%.*} case ${x} in + '*') + break + ;; *fb) fbcon=y ;; |