diff options
Diffstat (limited to 'os-plugins/plugins/vmware')
| -rw-r--r-- | os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm index 3184950e..166149ba 100644 --- a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm +++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm @@ -49,29 +49,28 @@ sub fillRunlevelScript my $self = shift; my $location = shift; my $kind = shift; -/* - my $initfile = newInitFile(); - $initfile->addFunction( - 'load_modules', - ' - # to be filled in via the stage1 configuration script - insmod /lib/modules/\$(uname -r)/misc/vmmon.ko || return 1 - insmod /lib/modules/\$(uname -r)/misc/vmnet.ko || return 1 - insmod /lib/modules/\$(uname -r)/misc/vmblock.ko 2>/dev/null || return 0 - ' - {param => "value"} - ); - - $initfile->addFunctionCall( - 'functionName', - 'start', # name of block - {priority => 5, } - ); - $initfile->addDaemon("/bin/mydaemon"); - - my $runlevelscript = getInitFileForDistro($initfile, "ubuntu"); -*/ +# my $initfile = newInitFile(); +# $initfile->addFunction( +# 'load_modules', +# ' +# # to be filled in via the stage1 configuration script +# insmod /lib/modules/\$(uname -r)/misc/vmmon.ko || return 1 +# insmod /lib/modules/\$(uname -r)/misc/vmnet.ko || return 1 +# insmod /lib/modules/\$(uname -r)/misc/vmblock.ko 2>/dev/null || return 0 +# ' +# {param => "value"} +# ); +# +# $initfile->addFunctionCall( +# 'functionName', +# 'start', # name of block +# {priority => 5, } +# ); +# +# $initfile->addDaemon("/bin/mydaemon"); +# +# my $runlevelscript = getInitFileForDistro($initfile, "ubuntu"); my $script = unshiftHereDoc(<<" End-of-Here"); #!/bin/sh |
