replicant-vendor_replicant/prebuilt/dream_sapphire/etc/init.d/02audio_profile
2010-07-05 23:09:52 -04:00

14 lines
325 B
Bash
Executable File

#!/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