From d99855b11e017417c58725675355e5c5ca956158 Mon Sep 17 00:00:00 2001
From: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Wed, 28 Jan 2009 20:01:11 +0000
Subject: [PATCH] [package] hotplug2: add platform hotplugging

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14248 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/hotplug2/Makefile             | 8 ++++----
 package/hotplug2/files/hotplug2.rules | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/package/hotplug2/Makefile b/package/hotplug2/Makefile
index cccad9bef..fd9060b2e 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 1f3a44415..1ccc4f704 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%;
 }
 
-- 
2.20.1