base-files: split service related functions off to /lib/functions/service.sh
[openwrt.git] / package / base-files / files / etc / hotplug2-init.rules
index 098ad04..f011697 100644 (file)
@@ -1,12 +1,5 @@
-DEVICENAME ~~ (tun|tap[0-9]) {
-       makedev /dev/net/%DEVICENAME% 0644
-       next
-}
-
-DEVPATH is set {
-       makedev /dev/%DEVICENAME% 0644
-}
+$include /etc/hotplug2-common.rules
 
-SUBSYSTEM ~~ button {
-       exec kill -USR1 1 ;
+SUBSYSTEM == button {
+       exec kill -USR1 1
 }
This page took 0.019402 seconds and 4 git commands to generate.