summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
diff options
context:
space:
mode:
authorOliver Tappe2008-03-22 16:02:11 +0100
committerOliver Tappe2008-03-22 16:02:11 +0100
commit13ab568437e7672024b4897ece539d00f6f01034 (patch)
tree86bc4a7be90ccc11d4c1281491795e8c1c2a1d7e /os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
parentIncorporated modified vmware runlevel script into plugin. It has to be (diff)
downloadcore-13ab568437e7672024b4897ece539d00f6f01034.tar.gz
core-13ab568437e7672024b4897ece539d00f6f01034.tar.xz
core-13ab568437e7672024b4897ece539d00f6f01034.zip
* added support for distro-specific runlevelScriptPath() [currently there's only
a generic implementation in Distro/Base.pm - other distros may have to override it] * fixed several styleguide violations ;-) * deactivated overly simplistic backup strategy that only works once git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1672 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.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
index 4e87697a..b371c912 100644
--- a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
+++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm
@@ -41,5 +41,11 @@ sub initialize
return 1;
}
+sub getRunlevelScriptPath
+{
+ my $self = shift;
+
+ return '/etc/init.d/vmware';
+}
1;