diff options
author | Sebastian Schmelzer | 2008-10-14 19:20:22 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2008-10-14 19:20:22 +0200 |
commit | 025e90bb58fb8306cf359a147d3dc5ad76d02c8f (patch) | |
tree | 862f399975b8f7137ad91a26c1bd26b1f22d5045 /initramfs/stage3-stuff/init | |
parent | * fixed wrong check for /initramfs/plugin-conf/ dir (diff) | |
download | core-025e90bb58fb8306cf359a147d3dc5ad76d02c8f.tar.gz core-025e90bb58fb8306cf359a147d3dc5ad76d02c8f.tar.xz core-025e90bb58fb8306cf359a147d3dc5ad76d02c8f.zip |
* fix for #212
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2295 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-x | initramfs/stage3-stuff/init | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init index 932bbe93..42a2a1da 100755 --- a/initramfs/stage3-stuff/init +++ b/initramfs/stage3-stuff/init @@ -875,10 +875,17 @@ else for plugin_starter in /etc/plugin-init.d/*.sh; do if [ -e $plugin_starter ]; then [ $DEBUGLEVEL -gt 0 ] \ - && echo "Running plugin starter $plugin_starter ..." + && echo -n "Running plugin starter $plugin_starter ..." [ $DEBUGLEVEL -eq 15 ] \ && sed '/^#!/ a\\set -x' -i $plugin_starter - . $plugin_starter >>/tmp/plugin_starter 2>&1 + init-wrapper $plugin_starter >>/tmp/plugin_starter 2>&1 + if [ $? -eq 0 ]; then + [ $DEBUGLEVEL -gt 0 ] \ + && echo " ok" + else + [ $DEBUGLEVEL -gt 0 ] \ + && echo " failed" + fi fi done fi |