summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2012-09-03 15:28:23 +0200
committerPaul Kocialkowski <contact@paulk.fr>2012-09-03 15:28:23 +0200
commitee4174f08d2f0a116a3cad203a7423211566ef85 (patch)
tree6a0aa6cc696a84bdc6f340c4c8c9441925f83b2c
parent6be81bf7c5fbf502f0122ca535eaf425eabab7cb (diff)
downloaddevice_goldelico_gta04-ee4174f08d2f0a116a3cad203a7423211566ef85.zip
device_goldelico_gta04-ee4174f08d2f0a116a3cad203a7423211566ef85.tar.gz
device_goldelico_gta04-ee4174f08d2f0a116a3cad203a7423211566ef85.tar.bz2
Set permissions to radio on the modem gpio node
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--init.gta04.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.gta04.rc b/init.gta04.rc
index 2171955..8f55798 100644
--- a/init.gta04.rc
+++ b/init.gta04.rc
@@ -1,2 +1,4 @@
on boot
write /sys/class/usb_composite/usb_mass_storage/enable 1
+ chown radio radio /sys/class/gpio/gpio186/value
+ chmod 660 /sys/class/gpio/gpio186/value