summaryrefslogtreecommitdiffstats
path: root/prebuilt/dream_sapphire/etc/init.d/02audio_profile
blob: 39b03bc0fe0c8c498dfc9f26d8de4fe294edc6e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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