summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2012-01-10 09:37:35 -0800
committerJean-Baptiste Queru <jbq@google.com>2012-01-11 04:36:13 -0800
commitf90b0e04a61ab3bf5239afb2f7157aabe5fbca8f (patch)
treeb5fa8359e26b343f6774b3c09df5c2951bf27e75 /rootdir
parent84bf9af758c84da7d9ff2929bce06bf2b2f239b8 (diff)
downloadsystem_core-f90b0e04a61ab3bf5239afb2f7157aabe5fbca8f.zip
system_core-f90b0e04a61ab3bf5239afb2f7157aabe5fbca8f.tar.gz
system_core-f90b0e04a61ab3bf5239afb2f7157aabe5fbca8f.tar.bz2
rootdir: convert all usages of $prop to ${prop}
Change-Id: Ic2472606e869d23c0f499a192cd7bb21ca3cf5b5 Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc16
1 files changed, 8 insertions, 8 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 23155ca..1e3ed8c 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -300,7 +300,7 @@ on property:sys.usb.config=none
stop adbd
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/bDeviceClass 0
- setprop sys.usb.state $sys.usb.config
+ setprop sys.usb.state ${sys.usb.config}
# adb only USB configuration
# This should only be used during device bringup
@@ -309,34 +309,34 @@ on property:sys.usb.config=adb
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 18d1
write /sys/class/android_usb/android0/idProduct D002
- write /sys/class/android_usb/android0/functions $sys.usb.config
+ write /sys/class/android_usb/android0/functions ${sys.usb.config}
write /sys/class/android_usb/android0/enable 1
start adbd
- setprop sys.usb.state $sys.usb.config
+ setprop sys.usb.state ${sys.usb.config}
# USB accessory configuration
on property:sys.usb.config=accessory
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 18d1
write /sys/class/android_usb/android0/idProduct 2d00
- write /sys/class/android_usb/android0/functions $sys.usb.config
+ write /sys/class/android_usb/android0/functions ${sys.usb.config}
write /sys/class/android_usb/android0/enable 1
- setprop sys.usb.state $sys.usb.config
+ setprop sys.usb.state ${sys.usb.config}
# USB accessory configuration, with adb
on property:sys.usb.config=accessory,adb
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 18d1
write /sys/class/android_usb/android0/idProduct 2d01
- write /sys/class/android_usb/android0/functions $sys.usb.config
+ write /sys/class/android_usb/android0/functions ${sys.usb.config}
write /sys/class/android_usb/android0/enable 1
start adbd
- setprop sys.usb.state $sys.usb.config
+ setprop sys.usb.state ${sys.usb.config}
# Used to set USB configuration at boot and to switch the configuration
# when changing the default configuration
on property:persist.sys.usb.config=*
- setprop sys.usb.config $persist.sys.usb.config
+ setprop sys.usb.config ${persist.sys.usb.config}
## Daemon processes to be run by init.
##