5122ada3787555336d55e8815f607b9a3775a154
[openwrt/svn-archive/archive.git] / package / hotplug2 / files / hotplug2.rules
1 DEVICENAME ~~ (tun|tap[0-9]) {
2 makedev /dev/net/%DEVICENAME% 0644
3 next
4 }
5
6 DEVPATH is set {
7 makedev /dev/%DEVICENAME% 0644
8 }
9
10 FIRMWARE is set {
11 exec /sbin/hotplug-call firmware;
12 next
13 }
14
15 SUBSYSTEM ~~ (net|button) {
16 exec /sbin/hotplug-call %SUBSYSTEM%;
17 }