summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-08-12 11:49:14 +0200
committerDirk von Suchodoletz2009-08-12 11:49:14 +0200
commit1575a3b42a6aa1a4ee6af6feab37b3af87cdfe4c (patch)
tree8c01a8790d8db4f7bccaedc6cfa270dd9448ad03
parentremoved duplicate --> from theme (diff)
downloadcore-1575a3b42a6aa1a4ee6af6feab37b3af87cdfe4c.tar.gz
core-1575a3b42a6aa1a4ee6af6feab37b3af87cdfe4c.tar.xz
core-1575a3b42a6aa1a4ee6af6feab37b3af87cdfe4c.zip
Fix to bootsplash.pm ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3082 95ad53e4-c205-0410-b2fa-d234c58c8868
-rw-r--r--os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm11
1 files changed, 7 insertions, 4 deletions
diff --git a/os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm b/os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm
index c370267a..c40c3f24 100644
--- a/os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm
+++ b/os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm
@@ -127,24 +127,27 @@ sub installationPhase
my $pluginRepoPath = "$self->{pluginRepositoryPath}";
my $initFile = newInitFile();
- my $do_stop = unshiftHereDoc(<<" End-of-Here");
+ my $do_stop = unshiftHereDoc(<<' End-of-Here');
/opt/openslx/plugin-repo/bootsplash/bin/splashy shutdown
sleep 1
- /opt/openslx/plugin-repo/bootsplash/bin/splashy_update \\
- "progress 100\" 2>/dev/null
+ /opt/openslx/plugin-repo/bootsplash/bin/splashy_update \
+ "progress 100" 2>/dev/null
End-of-Here
# add helper function to initfile
# first parameter name of the function
# second parameter content of the function
- $initFile->addFunction('do_start', '# do nothing here');
+ $initFile->addFunction('do_start', " : # do nothing here");
$initFile->addFunction('do_stop', $do_stop);
+ $initFile->addFunction('do_restart', " : # do nothing here");
# place a call of the helper function in the stop block
# of the init file
# first parameter name of the function
# second parameter name of the block
+ $initFile->addFunctionCall('do_start', 'start');
$initFile->addFunctionCall('do_stop', 'stop');
+ $initFile->addFunctionCall('do_restart', 'restart');
my $distro = (split('-',$self->{'os-plugin-engine'}->distroName()))[0];