summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authordhacker29 <davidhackerdvm@gmail.com>2013-08-20 00:10:41 -0500
committerZiyan <jaraidaniel@gmail.com>2014-12-13 00:39:23 +0100
commitbd8891387b55b7834c2ae09a9a8c7328f90cb599 (patch)
treecdf53df85208f30b7b48a4dd28b8dd7d3fc2804e /rootdir
parent46658da7a37c43075b66575e639872b5ecce3155 (diff)
downloaddevice_samsung_tuna-bd8891387b55b7834c2ae09a9a8c7328f90cb599.zip
device_samsung_tuna-bd8891387b55b7834c2ae09a9a8c7328f90cb599.tar.gz
device_samsung_tuna-bd8891387b55b7834c2ae09a9a8c7328f90cb599.tar.bz2
Allow telephony access to proc/cmdline
Otherwise on toro you get: D/TelephonyManager( 131): No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied) Change-Id: I2685959d485be3e29a738bc6287fdd99dc52b771
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/init.tuna.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc
index 89c515d..591ba74 100755
--- a/rootdir/init.tuna.rc
+++ b/rootdir/init.tuna.rc
@@ -61,6 +61,9 @@ on boot
write /sys/bus/usb/devices/usb1/power/autosuspend_delay_ms 0
write /sys/bus/usb/devices/usb2/power/autosuspend_delay_ms 0
+# Prevents permission denied error for telephony
+ chmod 0644 /proc/cmdline
+
on fs
mkdir /factory 0775 radio radio
mount_all /fstab.tuna