diff options
author | Oliver Tappe | 2007-07-03 01:27:51 +0200 |
---|---|---|
committer | Oliver Tappe | 2007-07-03 01:27:51 +0200 |
commit | ec1dde68f32d6f304217b777a54aea698f119c13 (patch) | |
tree | b1ff59249b7bd7c8a984315dbf4960c531716420 /initramfs/initrd-stuff/init | |
parent | * moved checkFlags() from Utils to Basics and used it there (in (diff) | |
download | core-ec1dde68f32d6f304217b777a54aea698f119c13.tar.gz core-ec1dde68f32d6f304217b777a54aea698f119c13.tar.xz core-ec1dde68f32d6f304217b777a54aea698f119c13.zip |
* 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
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-x | initramfs/initrd-stuff/init | 9 |
1 files changed, 9 insertions, 0 deletions
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 ] && \ |