From 023503fc5af2dba472d6b384b3e60caeef1325dd Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 22 Aug 2008 10:35:40 +0000 Subject: D_INITDIR is of no sense (just checked, that every distro is using init.d for runlevel scripts, even Gentoo :)) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2078 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/vmware/XX_vmware.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/os-plugins/plugins/vmware/XX_vmware.sh b/os-plugins/plugins/vmware/XX_vmware.sh index 52ac6d4d..b3f388fe 100644 --- a/os-plugins/plugins/vmware/XX_vmware.sh +++ b/os-plugins/plugins/vmware/XX_vmware.sh @@ -138,9 +138,9 @@ $(ipcalc -m $vmip/$vmpx|sed s/.*=//) {" \ fi # copy the runlevelscript to the proper place and activate it cp /mnt/opt/openslx/plugin-repo/vmware/${vmware_kind}/vmware.init \ - /mnt/etc/${D_INITDIR}/vmware-env \ + /mnt/etc/init.d/vmware-env \ || echo " * Error copying runlevel script. Shouldn't happen." - chmod a+x /mnt/etc/${D_INITDIR}/vmware-env + chmod a+x /mnt/etc/init.d/vmware-env rllinker "vmware-env" 20 2 ############################################################################# @@ -226,7 +226,7 @@ $(ipcalc -m $vmip/$vmpx|sed s/.*=//) {" \ # needed for VMware 5.5.4 and versions below # TODO: isn't boot.slx dead/not functional due of missing ";; esac"? echo -e "\tmount -t usbfs usbfs /proc/bus/usb 2>/dev/null" \ - >>/mnt/etc/${D_INITDIR}/boot.slx + >>/mnt/etc/init.d/boot.slx ## Copy version depending files -- cgit v1.2.3-55-g7522