From ec1dde68f32d6f304217b777a54aea698f119c13 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Mon, 2 Jul 2007 23:27:51 +0000 Subject: * added support for os-plugins: + added script slxos-plugin, which must be invoked to install a plugin into a vendor-OS + added handling of plugins to slxconfig-demuxer + added folder structure for plugins (below 'os-plugins') + implemented one simple plugin, called 'Example' which contains a couple of hints how to write own plugins git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1220 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/init | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'initramfs/initrd-stuff/init') diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init index 483f6327..f6b25a33 100755 --- a/initramfs/initrd-stuff/init +++ b/initramfs/initrd-stuff/init @@ -723,6 +723,15 @@ if [ -n "$uniondirs" ]; then include_in_fsroot_union "$union_type" "$uniondirs" fi +# 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 + [ $DEBUGLEVEL -gt 0 ] && \ + echo "Running plugin starter $plugin_starter ..." + /bin/sh $plugin_starter + done +fi + # post init for some distro specific postinit [ -s /initramfs/postinit.local ] && \ -- cgit v1.2.3-55-g7522