diff options
author | Steve Kondik <shade@chemlab.org> | 2010-07-05 23:09:35 -0400 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2010-07-05 23:09:52 -0400 |
commit | 8794d1afc95e3cf3d5e15db26890620bed9c0fe9 (patch) | |
tree | ea89bca2eff44026500e2963d4518e8c7de92001 /prebuilt/dream_sapphire | |
parent | f32d926b54e8e5b5e66330be7bfefe6f47607bf0 (diff) | |
download | vendor_replicant-8794d1afc95e3cf3d5e15db26890620bed9c0fe9.zip vendor_replicant-8794d1afc95e3cf3d5e15db26890620bed9c0fe9.tar.gz vendor_replicant-8794d1afc95e3cf3d5e15db26890620bed9c0fe9.tar.bz2 |
Add init.d stuff.
Diffstat (limited to 'prebuilt/dream_sapphire')
-rwxr-xr-x | prebuilt/dream_sapphire/etc/init.d/02audio_profile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/prebuilt/dream_sapphire/etc/init.d/02audio_profile b/prebuilt/dream_sapphire/etc/init.d/02audio_profile new file mode 100755 index 0000000..39b03bc --- /dev/null +++ b/prebuilt/dream_sapphire/etc/init.d/02audio_profile @@ -0,0 +1,13 @@ +#!/system/bin/sh + +if [ ! -e /system/etc/AudioPara4.csv ]; +then + mount -o remount,rw /system + if [ `getprop ro.product.device` = "dream" ]; + then + ln -s /system/etc/AudioPara_dream.csv /system/etc/AudioPara4.csv + else + ln -s /system/etc/AudioPara_sapphire.csv /system/etc/AudioPara4.csv + fi + mount -o remount,ro /system +fi |