10 lines
829 B
Diff
10 lines
829 B
Diff
diff --git a/etc/udev/40-surface-control.rules b/etc/udev/40-surface-control.rules
|
|
index db90d63..f5857c8 100644
|
|
--- a/etc/udev/40-surface-control.rules
|
|
+++ b/etc/udev/40-surface-control.rules
|
|
@@ -1,2 +1,2 @@
|
|
-KERNEL=="01:03:01:00:01", SUBSYSTEM=="surface_aggregator", RUN+="/usr/bin/chmod 664 /sys/bus/surface_aggregator/devices/01:03:01:00:01/perf_mode"
|
|
-KERNEL=="01:03:01:00:01", SUBSYSTEM=="surface_aggregator", RUN+="/usr/bin/chown root:surface-control /sys/bus/surface_aggregator/devices/01:03:01:00:01/perf_mode"
|
|
+KERNEL=="01:03:01:00:01", SUBSYSTEM=="surface_aggregator", RUN+="@CHMODBINARY@ 664 /sys/bus/surface_aggregator/devices/01:03:01:00:01/perf_mode"
|
|
+KERNEL=="01:03:01:00:01", SUBSYSTEM=="surface_aggregator", RUN+="@CHMODBINARY@ root:surface-control /sys/bus/surface_aggregator/devices/01:03:01:00:01/perf_mode"
|