commit | 2c4d5dc41505d28cff369cfbe8b17ac81106d936 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Tue Jun 07 17:30:11 2011 -0700 |
committer | Mike Lockwood <lockwood@android.com> | Thu Jun 09 15:42:31 2011 -0700 |
tree | c09b9037699e7d6eeb149f56b51474ca45a11d6a | |
parent | b36f136738f6ed35c9686e1d42b57655eba9ce8d [diff] |
init: Add support for writing system property value to a file in init.rc The write command will write a property value if the value starts with a "$' For example: write /sys/class/android_usb/iSerial $ro.serialno Use double leading '$' if you need to write a string that starts with '$': write /data/foo $$hello to write "$hello" to /data/foo Change-Id: I55431ac7715a5347bb95c3a15aee97c575444dde