summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-03-26 01:30:18 +0100
committerDirk von Suchodoletz2008-03-26 01:30:18 +0100
commitf3031c408ee1bd68b7c14d8e5e206f513f9a483f (patch)
treeca3b3df4adeff09591cba7b6721fa2a5f209c9d9 /os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
parentWriting distro specific runlevel scripts the trivial way. Should be (diff)
downloadcore-f3031c408ee1bd68b7c14d8e5e206f513f9a483f.tar.gz
core-f3031c408ee1bd68b7c14d8e5e206f513f9a483f.tar.xz
core-f3031c408ee1bd68b7c14d8e5e206f513f9a483f.zip
Hiding of linebreaks in shell have to be escaped (\\), otherwise
they arn't properly written by the perl script. There is still a bug with passing the variable $location properly ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1692 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm')
-rw-r--r--os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm9
1 files changed, 1 insertions, 8 deletions
diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
index 0ac323c4..17d92fc0 100644
--- a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
+++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
@@ -41,20 +41,13 @@ sub initialize
return 1;
}
-sub getRunlevelScriptPath
-{
- my $self = shift;
-
- return '/etc/init.d/vmware';
-}
-
sub fillRunlevelScript
{
my $self = shift;
my $location = shift;
my $script = unshiftHereDoc(<<" End-of-Here");
- #!/bin/sh
+ #! /bin/sh
# completely generic start/stop script, generated via stage1 'vmware' plugin
# install
# inspiration taken from vmware start script: