summaryrefslogtreecommitdiffstats
path: root/init.herring.rc
diff options
context:
space:
mode:
authorBrian Swetland <swetland@google.com>2010-10-26 15:39:08 -0700
committerBrian Swetland <swetland@google.com>2010-10-26 15:39:08 -0700
commit82d9ceebdba1661a7f60275c4bc1b17e1c69e1ae (patch)
tree06b705eac0ba6a9bab69815124e2c3e5c1c6af0b /init.herring.rc
parent3c4232c3b525d78ccb1e1058ef6f425afc9ebe55 (diff)
downloaddevice_samsung_crespo-82d9ceebdba1661a7f60275c4bc1b17e1c69e1ae.zip
device_samsung_crespo-82d9ceebdba1661a7f60275c4bc1b17e1c69e1ae.tar.gz
device_samsung_crespo-82d9ceebdba1661a7f60275c4bc1b17e1c69e1ae.tar.bz2
remove hardcoded input rules
these are now handled from ueventd.rc with the new support for settings owner/group/access on sysfs properties. Change-Id: If1086675de6c50d057da5276a979dd61d185a4d0
Diffstat (limited to 'init.herring.rc')
-rwxr-xr-xinit.herring.rc45
1 files changed, 0 insertions, 45 deletions
diff --git a/init.herring.rc b/init.herring.rc
index 944151e..61c7ce5 100755
--- a/init.herring.rc
+++ b/init.herring.rc
@@ -29,51 +29,6 @@ on boot
chown gps root /sys/class/sec/gps/GPS_PWR_EN/value
chmod 660 /sys/class/sec/gps/GPS_PWR_EN/value
-# sensors sysfs attributes. input devices are created dynamically
-# so we can't be sure which is which. this is a bit of a hack until
-# (and if) init is modified to handle uevents (or ueventd is modified
-# to support sysfs).
- chown input input /sys/class/input/event0/device/enable
- chown input input /sys/class/input/event1/device/enable
- chown input input /sys/class/input/event2/device/enable
- chown input input /sys/class/input/event3/device/enable
- chown input input /sys/class/input/event4/device/enable
- chown input input /sys/class/input/event5/device/enable
- chown input input /sys/class/input/event6/device/enable
- chown input input /sys/class/input/event7/device/enable
- chown input input /sys/class/input/event8/device/enable
- chown input input /sys/class/input/event9/device/enable
- chmod 660 /sys/class/input/event0/device/enable
- chmod 660 /sys/class/input/event1/device/enable
- chmod 660 /sys/class/input/event2/device/enable
- chmod 660 /sys/class/input/event3/device/enable
- chmod 660 /sys/class/input/event4/device/enable
- chmod 660 /sys/class/input/event5/device/enable
- chmod 660 /sys/class/input/event6/device/enable
- chmod 660 /sys/class/input/event7/device/enable
- chmod 660 /sys/class/input/event8/device/enable
- chmod 660 /sys/class/input/event9/device/enable
- chown input input /sys/class/input/event0/device/poll_delay
- chown input input /sys/class/input/event1/device/poll_delay
- chown input input /sys/class/input/event2/device/poll_delay
- chown input input /sys/class/input/event3/device/poll_delay
- chown input input /sys/class/input/event4/device/poll_delay
- chown input input /sys/class/input/event5/device/poll_delay
- chown input input /sys/class/input/event6/device/poll_delay
- chown input input /sys/class/input/event7/device/poll_delay
- chown input input /sys/class/input/event9/device/poll_delay
- chown input input /sys/class/input/event9/device/poll_delay
- chmod 660 /sys/class/input/event0/device/poll_delay
- chmod 660 /sys/class/input/event1/device/poll_delay
- chmod 660 /sys/class/input/event2/device/poll_delay
- chmod 660 /sys/class/input/event3/device/poll_delay
- chmod 660 /sys/class/input/event4/device/poll_delay
- chmod 660 /sys/class/input/event5/device/poll_delay
- chmod 660 /sys/class/input/event6/device/poll_delay
- chmod 660 /sys/class/input/event7/device/poll_delay
- chmod 660 /sys/class/input/event9/device/poll_delay
- chmod 660 /sys/class/input/event9/device/poll_delay
-
on fs
mkdir /efs 0775 radio radio
mount yaffs2 mtd@efs /efs nosuid nodev