summaryrefslogtreecommitdiffstats
path: root/initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs')
-rw-r--r--initramfs/initrd-stuff/etc/functions2
-rwxr-xr-xinitramfs/initrd-stuff/init4
2 files changed, 3 insertions, 3 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
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init
index 28a98459..cef0206e 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -789,8 +789,8 @@ fi
runinithook '70-before-plugins'
# check for any plugin-specific runlevel scripts and run them, if found:
-if [ -d /initramfs/plugin-init.d ]; then
- for plugin_starter in /initramfs/plugin-init.d/*; do
+if [ -d /etc/plugin-init.d ]; then
+ for plugin_starter in /etc/plugin-init.d/*.sh; do
[ $DEBUGLEVEL -gt 0 ] \
&& echo "Running plugin starter $plugin_starter ..."
. $plugin_starter