diff options
author | maximilian attems <maks@debian.org> | 2005-10-26 09:22:31 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2005-10-26 09:22:31 +0200 |
commit | 429cd75b35cf6c08aff80aec2aee9fab40eb42a5 (patch) | |
tree | 2da6483ede8e1c7728f2f5423736acaa9e2343ff /hooks | |
parent | a62c8eadea176cc83f83cf1eeeca4aabe59e5a95 (diff) | |
download | initramfs-tools-429cd75b35cf6c08aff80aec2aee9fab40eb42a5.tar.gz initramfs-tools-429cd75b35cf6c08aff80aec2aee9fab40eb42a5.zip |
Check for dir ${MODULESDIR}/initrd/, exit if it doesn't exist.
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/kernelextras | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hooks/kernelextras b/hooks/kernelextras index d1b8c34..df38884 100755 --- a/hooks/kernelextras +++ b/hooks/kernelextras @@ -19,6 +19,10 @@ esac . /usr/share/initramfs-tools/hook-functions +if [ ! -d ${MODULESDIR}/initrd ]; then + exit 0 +fi + fbcon=n for x in ${MODULESDIR}/initrd/*; do |