replicant-vendor_replicant/prebuilt/dream_sapphire/etc/init.d/02audio_profile

14 lines
325 B
Plaintext
Raw Normal View History

2010-07-06 03:09:35 +00:00
#!/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