From f3031c408ee1bd68b7c14d8e5e206f513f9a483f Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 26 Mar 2008 00:30:18 +0000 Subject: 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 --- os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm') 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: -- cgit v1.2.3-55-g7522