mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
udevil fix systemctl path after systemd 209
This commit is contained in:
parent
2a9ff007e1
commit
f3076f0cbd
@ -16,13 +16,13 @@ GOTO="exit"
|
|||||||
|
|
||||||
# mount or umount for hdds
|
# mount or umount for hdds
|
||||||
LABEL="harddisk"
|
LABEL="harddisk"
|
||||||
ACTION=="add", RUN+="/bin/systemctl restart udevil-mount@/dev/%k.service"
|
ACTION=="add", RUN+="/usr/bin/systemctl restart udevil-mount@/dev/%k.service"
|
||||||
ACTION=="remove", RUN+="/bin/systemctl stop udevil-mount@/dev/%k.service"
|
ACTION=="remove", RUN+="/usr/bin/systemctl stop udevil-mount@/dev/%k.service"
|
||||||
GOTO="exit"
|
GOTO="exit"
|
||||||
|
|
||||||
# mount or umount for opticals
|
# mount or umount for opticals
|
||||||
LABEL="optical"
|
LABEL="optical"
|
||||||
ACTION=="add|change", RUN+="/bin/systemctl restart udevil-mount@/dev/%k.service"
|
ACTION=="add|change", RUN+="/usr/bin/systemctl restart udevil-mount@/dev/%k.service"
|
||||||
GOTO="exit"
|
GOTO="exit"
|
||||||
|
|
||||||
# Exit
|
# Exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user