projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38077f8
)
domoticz: use 'ln -sf' in serial hotplug script
author
David Woodhouse
<dwmw2@infradead.org>
Sun, 13 May 2018 14:50:34 +0000
(15:50 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Mon, 25 Jun 2018 14:26:25 +0000
(15:26 +0100)
Otherwise, stale symlinks don't get replaced
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
utils/domoticz/files/domoticz.hotplug
patch
|
blob
|
history
diff --git
a/utils/domoticz/files/domoticz.hotplug
b/utils/domoticz/files/domoticz.hotplug
index 7138175ef08f31bd97e427a745877dc4c59da0c8..3cd8651c13c2b3e0e60c68a64527a6f3e315af67 100644
(file)
--- 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 -s
f
"/dev/$DEVICENAME" "/dev/$symlink"
}
remove() {