diff --git a/utils/domoticz/files/domoticz.hotplug b/utils/domoticz/files/domoticz.hotplug index 7138175ef..3cd8651c1 100644 --- a/utils/domoticz/files/domoticz.hotplug +++ b/utils/domoticz/files/domoticz.hotplug @@ -28,7 +28,7 @@ add() { chgrp domoticz "/dev/$DEVICENAME" chmod g+rw "/dev/$DEVICENAME" - [ -n "$symlink" ] && ln -s "/dev/$DEVICENAME" "/dev/$symlink" + [ -n "$symlink" ] && ln -sf "/dev/$DEVICENAME" "/dev/$symlink" } remove() {