From 74f8eb1aee093bc330c52fa0482aebf05d3282dd Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Tue, 5 Aug 2008 20:24:48 +0000 Subject: Small dirty bug in XX_vmware.sh fixed (-p is unknown to testmkd) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1964 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/vmware/XX_vmware.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'os-plugins/plugins/vmware/XX_vmware.sh') diff --git a/os-plugins/plugins/vmware/XX_vmware.sh b/os-plugins/plugins/vmware/XX_vmware.sh index a6c1aeb3..4f17593f 100644 --- a/os-plugins/plugins/vmware/XX_vmware.sh +++ b/os-plugins/plugins/vmware/XX_vmware.sh @@ -1,5 +1,3 @@ -#!/bin/ash -# # Copyright (c) 2007..2008 - RZ Uni Freiburg # Copyright (c) 2008 - OpenSLX GmbH # @@ -11,8 +9,8 @@ # # General information about OpenSLX can be found at http://openslx.org # -. /etc/functions -. /etc/distro-functions +# script is included from init via the "." load function - thus it has all +# variables and functions available # TODO: nvram,functions # write /etc/vmware/config (if a non-standard location of vmware basedir is @@ -36,7 +34,7 @@ if [ -e /initramfs/plugin-conf/vmware.conf ]; then if [ -d /mnt/etc/vmware ] ; then rm -rf /mnt/etc/vmware/* else - testmkd -p /mnt/etc/vmware + testmkd /mnt/etc/vmware fi # write the /etc/vmware/slxvmconfig file # check for the several variables and write the several files: -- cgit v1.2.3-55-g7522