From f3076f0cbdec3f397103d51706a0482ffbfbf3e3 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Fri, 21 Feb 2014 00:30:00 +0200 Subject: [PATCH] udevil fix systemctl path after systemd 209 --- packages/sysutils/udevil/udev.d/95-udevil-mount.rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/sysutils/udevil/udev.d/95-udevil-mount.rules b/packages/sysutils/udevil/udev.d/95-udevil-mount.rules index c701390c87..f7a5e50388 100644 --- a/packages/sysutils/udevil/udev.d/95-udevil-mount.rules +++ b/packages/sysutils/udevil/udev.d/95-udevil-mount.rules @@ -16,13 +16,13 @@ GOTO="exit" # mount or umount for hdds LABEL="harddisk" -ACTION=="add", RUN+="/bin/systemctl restart udevil-mount@/dev/%k.service" -ACTION=="remove", RUN+="/bin/systemctl stop udevil-mount@/dev/%k.service" +ACTION=="add", RUN+="/usr/bin/systemctl restart udevil-mount@/dev/%k.service" +ACTION=="remove", RUN+="/usr/bin/systemctl stop udevil-mount@/dev/%k.service" GOTO="exit" # mount or umount for opticals 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" # Exit