From 273a4b6a518f7bb5161353de38f0ae1c7f4f96ae Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 29 Nov 2017 16:10:37 +0100 Subject: [vmware*] Only create /dev/vmmon if it doesn't exist --- core/modules/vmware12/data/opt/openslx/scripts/systemd-vmware_env | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/modules/vmware12/data') diff --git a/core/modules/vmware12/data/opt/openslx/scripts/systemd-vmware_env b/core/modules/vmware12/data/opt/openslx/scripts/systemd-vmware_env index 4e381bf0..a74fd106 100755 --- a/core/modules/vmware12/data/opt/openslx/scripts/systemd-vmware_env +++ b/core/modules/vmware12/data/opt/openslx/scripts/systemd-vmware_env @@ -55,7 +55,9 @@ vmnetif () { local vmnet nic NICS # create the needed devices which effects all vmware options # they are not created automatically via module load - mknod /dev/vmmon c 10 165 || slxlog "vmware-node-vmmon" "Could not create /dev/vmmon" + if ! [ -e /dev/vmmon ]; then + mknod /dev/vmmon c 10 165 || slxlog "vmware-node-vmmon" "Could not create /dev/vmmon" + fi # network interfaces # 1) default ones for vmnet in 0 1 2; do -- cgit v1.2.3-55-g7522