summaryrefslogtreecommitdiff
path: root/package/hotplug2
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-01-28 20:01:11 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-01-28 20:01:11 +0000
commitec34d908c7f9277807249c07ab0de5a267683c6e (patch)
treebf2399b986d6d2412efee06f0b2d360670493832 /package/hotplug2
parent85963798be99926739b4f14ee3b2ef5feb906d18 (diff)
downloadmtk-20170518-ec34d908c7f9277807249c07ab0de5a267683c6e.zip
mtk-20170518-ec34d908c7f9277807249c07ab0de5a267683c6e.tar.gz
mtk-20170518-ec34d908c7f9277807249c07ab0de5a267683c6e.tar.bz2
hotplug2: add platform hotplugging
SVN-Revision: 14248
Diffstat (limited to 'package/hotplug2')
-rw-r--r--package/hotplug2/Makefile8
-rw-r--r--package/hotplug2/files/hotplug2.rules2
2 files changed, 5 insertions, 5 deletions
diff --git a/package/hotplug2/Makefile b/package/hotplug2/Makefile
index cccad9b..fd9060b 100644
--- a/package/hotplug2/Makefile
+++ b/package/hotplug2/Makefile
@@ -1,16 +1,16 @@
-#
-# Copyright (C) 2006 OpenWrt.org
+#
+# Copyright (C) 2006-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id: Makefile 6372 2007-02-25 23:34:57Z nbd $
+# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=hotplug2
PKG_VERSION:=0.9
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://isteve.bofh.cz/~isteve/hotplug2
diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules
index 1f3a444..1ccc4f7 100644
--- a/package/hotplug2/files/hotplug2.rules
+++ b/package/hotplug2/files/hotplug2.rules
@@ -1,6 +1,6 @@
$include /etc/hotplug2-common.rules
-SUBSYSTEM ~~ (net|button|usb) {
+SUBSYSTEM ~~ (net|button|usb|platform) {
exec /sbin/hotplug-call %SUBSYSTEM%;
}