summaryrefslogtreecommitdiffstats
path: root/core/modules/vmware12/data/opt/openslx/scripts/systemd-vmware_env
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/vmware12/data/opt/openslx/scripts/systemd-vmware_env')
-rwxr-xr-xcore/modules/vmware12/data/opt/openslx/scripts/systemd-vmware_env4
1 files changed, 3 insertions, 1 deletions
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