From: Gabor Juhos Date: Wed, 28 Jan 2009 20:01:11 +0000 (+0000) Subject: hotplug2: add platform hotplugging X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ec34d908c7f9277807249c07ab0de5a267683c6e;p=openwrt%2Fstaging%2Fsvanheule.git hotplug2: add platform hotplugging SVN-Revision: 14248 --- diff --git a/package/hotplug2/Makefile b/package/hotplug2/Makefile index cccad9bef6..fd9060b2ec 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 1f3a444151..1ccc4f704a 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%; }