6 #killall -9 system_server
10 rm -rf /tmp/permanent/*
12 echo "nfc sdkMsg flush..."
13 echo > /opt/nfc/sdkMsg
15 echo "Run Shutdown animation..."
16 nice -n -15 /usr/bin/boot-animation --offmsg " " --clear &
19 echo "Stopping indicator..."
22 # factory resetting...
23 # flag set by factory-reset.sh
24 if [ -f /opt/.factoryreset ]; then
25 /usr/bin/run-factory-reset.sh