diff options
author | Hamish Guthrie <hcg@openwrt.org> | 2009-05-28 13:21:58 +0000 |
---|---|---|
committer | Hamish Guthrie <hcg@openwrt.org> | 2009-05-28 13:21:58 +0000 |
commit | b38b823afb79a9ddac0697ff167360700d81a73a (patch) | |
tree | 5af6c8e0254a0ca89796af9cea377bf1aeec8f86 /package/hotplug2/files/hotplug2.rules | |
parent | 5513f6a9e911c043111a6b675e101a9e185218e0 (diff) | |
download | mtk-20170518-b38b823afb79a9ddac0697ff167360700d81a73a.zip mtk-20170518-b38b823afb79a9ddac0697ff167360700d81a73a.tar.gz mtk-20170518-b38b823afb79a9ddac0697ff167360700d81a73a.tar.bz2 |
add hotplug2 v1.0
SVN-Revision: 16136
Diffstat (limited to 'package/hotplug2/files/hotplug2.rules')
-rw-r--r-- | package/hotplug2/files/hotplug2.rules | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules new file mode 100644 index 0000000..8ad8103 --- /dev/null +++ b/package/hotplug2/files/hotplug2.rules @@ -0,0 +1,10 @@ +$include /etc/hotplug2-common.rules + +SUBSYSTEM ~~ (net|button|usb|platform|ieee1394|block) { + exec /sbin/hotplug-call %SUBSYSTEM% +} + +DEVICENAME ~~ (watchdog) { + exec /sbin/watchdog -t 5 /dev/watchdog + next +} |