Changeset 26851


Ignore:
Timestamp:
2011-05-08T12:48:38+02:00 (7 years ago)
Author:
jow
Message:

[backfire] backport r26808 and r26848

Location:
branches/backfire/package/base-files
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/base-files/Makefile

    r26231 r26851  
    1111 
    1212PKG_NAME:=base-files 
    13 PKG_RELEASE:=43.15 
     13PKG_RELEASE:=43.16 
    1414 
    1515PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ 
  • branches/backfire/package/base-files/files/etc/hotplug2-common.rules

    r21662 r26851  
    11 
    2 DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio|hvc) { 
     2DEVICENAME ~~ (null|full|ptmx|zero|gpio|hvc) { 
    33        nothrottle 
    44        makedev /dev/%DEVICENAME% 0666 
     
    99        nothrottle 
    1010        makedev /dev/net/%DEVICENAME% 0644 
    11 } 
    12  
    13 DEVICENAME ~~ (ppp) { 
    14         nothrottle 
    15         makedev /dev/%DEVICENAME% 0600 
    16         next 
    1711} 
    1812 
     
    3731        nothrottle 
    3832        makedev /dev/mapper/control 0600 
     33        next 
    3934} 
    4035 
    41  
    42 DEVPATH is set { 
     36ACTION == add, DEVPATH is set { 
    4337        nothrottle 
    4438        makedev /dev/%DEVICENAME% 0644 
     39} 
     40 
     41ACTION == add, DEVPATH is set, DEVICENAME ~~ ^tty { 
     42        chmod 0666 /dev/%DEVICENAME% 
     43} 
     44 
     45ACTION == add, DEVPATH is set, DEVICENAME ~~ ^ppp { 
     46        chmod 0600 /dev/%DEVICENAME% 
     47} 
     48 
     49ACTION == remove, DEVPATH is set, MAJOR is set, MINOR is set { 
     50        remove /dev/%DEVICENAME% 
    4551} 
    4652 
  • branches/backfire/package/base-files/files/etc/init.d/boot

    r19428 r26851  
    8181 
    8282        load_modules /etc/modules.d/* 
     83 
     84        # another round of USB coldplugging to kick devices into operation which lacked drivers before 
     85        for dev in /sys/bus/usb/devices/*/uevent; do 
     86                [ -e "$dev" ] && echo -n add > "$dev" 
     87        done 
    8388} 
    8489 
Note: See TracChangeset for help on using the changeset viewer.