[pakcage] simplify action handling in rc.common (#5558)
[openwrt.git] / package / base-files / files / etc / hotplug2-init.rules
index 6efd546..e7dd0ad 100644 (file)
@@ -1,9 +1,5 @@
-DEVICENAME ~~ (tun|tap[0-9]) {
-       makedev /dev/net/%DEVICENAME% 0644
-       next
-}
+$include /etc/hotplug2-common.rules
 
-DEVPATH is set {
-       makedev /dev/%DEVICENAME% 0644
+SUBSYSTEM ~~ button {
+       exec kill -USR1 1
 }
-
This page took 0.025988 seconds and 4 git commands to generate.