From 7b1c552ede13b5129db848f610fe3c27b33cd6d3 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 16 Feb 2008 17:11:53 +0000 Subject: * 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 --- initramfs/initrd-stuff/etc/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'initramfs/initrd-stuff/etc/functions') 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 -- cgit v1.2.3-55-g7522