diff options
author | Oliver Tappe | 2008-02-16 18:11:53 +0100 |
---|---|---|
committer | Oliver Tappe | 2008-02-16 18:11:53 +0100 |
commit | 7b1c552ede13b5129db848f610fe3c27b33cd6d3 (patch) | |
tree | d4dbe31ab5daf8ab8b9c3c666c14495f43870f18 /initramfs/initrd-stuff/etc/functions | |
parent | Remove udev rules for eth* device (and other) modification (not correct for (diff) | |
download | core-7b1c552ede13b5129db848f610fe3c27b33cd6d3.tar.gz core-7b1c552ede13b5129db848f610fe3c27b33cd6d3.tar.xz core-7b1c552ede13b5129db848f610fe3c27b33cd6d3.zip |
* when invoking init-hook scripts and plugin scripts, now only *.sh files
are accepted. Suggested by Michael to spare future headaches caused by
backup files (theme.sh~ and the like)
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1550 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/etc/functions')
-rw-r--r-- | initramfs/initrd-stuff/etc/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions index fc6d2d39..4aa9cef4 100644 --- a/initramfs/initrd-stuff/etc/functions +++ b/initramfs/initrd-stuff/etc/functions @@ -557,7 +557,7 @@ fi runinithook () { local hook=$1 if [ -d /etc/init-hooks/$hook ]; then - for hook_script in /etc/init-hooks/$hook/*; do + for hook_script in /etc/init-hooks/$hook/*.sh; do . $hook_script done fi |