summaryrefstree
path: root/vendor/bin/init.asus.asusinov_setproc.sh
blob: 8cc55218b9e5c14d4cd3ac64ff2dea4504ea0333 (plain)
1
2
3
4
5
6
7
8
9
#!/system/bin/sh
asusinov_mode=`getprop persist.asus.test.inov`
if [ ".$asusinov_mode" == ".0" ];then
		echo 1 > /proc/driver/charger_inov_enable
elif [ ".$asusinov_mode" == ".1" ];then
		echo 0 > /proc/driver/charger_inov_enable
else
	echo "error persist.asus.test.inov and etc."
fi