mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 21:18:58 +02:00
[backfire] backport r26808 and r26848
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26851 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
efd3bf758f
commit
a48b1c1ca7
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=base-files
|
||||
PKG_RELEASE:=43.15
|
||||
PKG_RELEASE:=43.16
|
||||
|
||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||
PKG_BUILD_DEPENDS:=opkg/host
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio|hvc) {
|
||||
DEVICENAME ~~ (null|full|ptmx|zero|gpio|hvc) {
|
||||
nothrottle
|
||||
makedev /dev/%DEVICENAME% 0666
|
||||
next
|
||||
@ -10,12 +10,6 @@ DEVICENAME ~~ (tun|tap[0-9]) {
|
||||
makedev /dev/net/%DEVICENAME% 0644
|
||||
}
|
||||
|
||||
DEVICENAME ~~ (ppp) {
|
||||
nothrottle
|
||||
makedev /dev/%DEVICENAME% 0600
|
||||
next
|
||||
}
|
||||
|
||||
DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) {
|
||||
nothrottle
|
||||
makedev /dev/snd/%DEVICENAME% 0644
|
||||
@ -36,14 +30,26 @@ DEVPATH is set, SUBSYSTEM ~~ (input) {
|
||||
DEVICENAME == device-mapper {
|
||||
nothrottle
|
||||
makedev /dev/mapper/control 0600
|
||||
next
|
||||
}
|
||||
|
||||
|
||||
DEVPATH is set {
|
||||
ACTION == add, DEVPATH is set {
|
||||
nothrottle
|
||||
makedev /dev/%DEVICENAME% 0644
|
||||
}
|
||||
|
||||
ACTION == add, DEVPATH is set, DEVICENAME ~~ ^tty {
|
||||
chmod 0666 /dev/%DEVICENAME%
|
||||
}
|
||||
|
||||
ACTION == add, DEVPATH is set, DEVICENAME ~~ ^ppp {
|
||||
chmod 0600 /dev/%DEVICENAME%
|
||||
}
|
||||
|
||||
ACTION == remove, DEVPATH is set, MAJOR is set, MINOR is set {
|
||||
remove /dev/%DEVICENAME%
|
||||
}
|
||||
|
||||
FIRMWARE is set, ACTION == add {
|
||||
nothrottle
|
||||
load-firmware /lib/firmware
|
||||
|
@ -80,6 +80,11 @@ start() {
|
||||
}
|
||||
|
||||
load_modules /etc/modules.d/*
|
||||
|
||||
# another round of USB coldplugging to kick devices into operation which lacked drivers before
|
||||
for dev in /sys/bus/usb/devices/*/uevent; do
|
||||
[ -e "$dev" ] && echo -n add > "$dev"
|
||||
done
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
Loading…
Reference in New Issue
Block a user