#2
lyj52013142015-06-04 09:50
|
程序代码:
sed "s/InstantPhoneLockStatus = 1/InstantPhoneLockStatus = 0/g" /ezx_user/download/appwrite/setup/ezx_system.cfg > /mmc/mmca1/tmp
rm /ezx_user/download/appwrite/setup/ezx_system.cfg
cat /mmc/mmca1/tmp > /ezx_user/download/appwrite/setup/ezx_system.cfg
rm /tmp/ezx_system.cfg
cp /ezx_user/download/appwrite/setup/ezx_system.cfg /tmp/
rm /mmc/mmca1/tmp
killall phonelock
killall sed
以上的命令路径需要根据自己手机的实际情况作一定修改,把他们写进自启动脚本即可。 rm /ezx_user/download/appwrite/setup/ezx_system.cfg
cat /mmc/mmca1/tmp > /ezx_user/download/appwrite/setup/ezx_system.cfg
rm /tmp/ezx_system.cfg
cp /ezx_user/download/appwrite/setup/ezx_system.cfg /tmp/
rm /mmc/mmca1/tmp
killall phonelock
killall sed