aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-10-24 15:33:49 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2016-10-24 15:33:49 -0700
commit4264b34e2ce5a57501ac38fb18db8f44307d006d (patch)
tree81fe132d88eace9445df9d6b1c7f18be22a8fccf
parentSwitch /var/run to /run. (diff)
downloadnetifrc-4264b34e2ce5a57501ac38fb18db8f44307d006d.tar.gz
netifrc-4264b34e2ce5a57501ac38fb18db8f44307d006d.tar.bz2
netifrc-4264b34e2ce5a57501ac38fb18db8f44307d006d.zip
udev_rules: %k obsolete.
X-Gentoo-Bug: 575128 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=575128 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--udev_rules/90-network.rules5
1 files changed, 2 insertions, 3 deletions
diff --git a/udev_rules/90-network.rules b/udev_rules/90-network.rules
index 50903af..50ccb94 100644
--- a/udev_rules/90-network.rules
+++ b/udev_rules/90-network.rules
@@ -3,6 +3,5 @@
# /etc/udev/rules/90-network.rules: triggering network init-scripts
# Activate our network if we can
-SUBSYSTEM=="net", ACTION=="add", RUN+="net.sh %k start"
-SUBSYSTEM=="net", ACTION=="remove", RUN+="net.sh %k stop"
-
+SUBSYSTEM=="net", ACTION=="add", RUN+="net.sh $name start"
+SUBSYSTEM=="net", ACTION=="remove", RUN+="net.sh $name stop"