Advertisement
alexforsale

init.d test

May 23rd, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #!/system/bin/sh
  2. #Init.d Test
  3.  
  4. busybox mount -o remount,rw -t auto /system;
  5. busybox mount -o remount,rw -t auto /data;
  6.  
  7. if [ -e /data/Test.log ]; then
  8. rm /data/Test.log
  9. fi
  10.  
  11. LOG_FILE=/data/Test.log
  12. exec 2> /data/Test.log
  13. echo "Init.d Is Working !!! - $( date +"%m-%d-%Y %r" )" >> $LOG_FILE;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement