summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-08-22 12:35:40 +0200
committerDirk von Suchodoletz2008-08-22 12:35:40 +0200
commit023503fc5af2dba472d6b384b3e60caeef1325dd (patch)
tree49f13ee113fc02ea95bf268a3455eaac5a33db64 /os-plugins
parentUclib-linked splashy for stage3 (keeping static version). Problem with the (diff)
downloadcore-023503fc5af2dba472d6b384b3e60caeef1325dd.tar.gz
core-023503fc5af2dba472d6b384b3e60caeef1325dd.tar.xz
core-023503fc5af2dba472d6b384b3e60caeef1325dd.zip
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
Diffstat (limited to 'os-plugins')
-rw-r--r--os-plugins/plugins/vmware/XX_vmware.sh6
1 files 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