Browse Source

domoticz: use 'ln -sf' in serial hotplug script

Otherwise, stale symlinks don't get replaced

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
lilik-openwrt-22.03
David Woodhouse 7 years ago
parent
commit
94aad53b39
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      utils/domoticz/files/domoticz.hotplug

+ 1
- 1
utils/domoticz/files/domoticz.hotplug View File

@ -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() {


Loading…
Cancel
Save