summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/base-files/default
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm-2.4/base-files/default')
-rw-r--r--target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules b/target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules
new file mode 100644
index 000000000..098ad047a
--- /dev/null
+++ b/target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules
@@ -0,0 +1,12 @@
+DEVICENAME ~~ (tun|tap[0-9]) {
+ makedev /dev/net/%DEVICENAME% 0644
+ next
+}
+
+DEVPATH is set {
+ makedev /dev/%DEVICENAME% 0644
+}
+
+SUBSYSTEM ~~ button {
+ exec kill -USR1 1 ;
+}