diff options
| author | Iliyan Malchev <malchev@google.com> | 2013-02-27 18:45:49 -0800 |
|---|---|---|
| committer | Iliyan Malchev <malchev@google.com> | 2013-03-04 15:38:53 -0800 |
| commit | 4ffa22bb4af373abff09b8c3423c67235f8e132d (patch) | |
| tree | bc466fbf0c293d2dd0ccd56051d71f11c63044fb /kickstart_checker.sh | |
| parent | aae218ad95c56f369e5027bbf5c9496a3cc8d14e (diff) | |
device/asus/flo: initial commit
Change-Id: I5946aea9cce97624c4a2a56ce8da858851f509e8
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'kickstart_checker.sh')
| -rw-r--r-- | kickstart_checker.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kickstart_checker.sh b/kickstart_checker.sh new file mode 100644 index 0000000..46514d0 --- /dev/null +++ b/kickstart_checker.sh @@ -0,0 +1,11 @@ +#!/system/bin/sh +setprop persist.radio.kickstart off + +if [ $(getprop ro.baseband) == "mdm" ]; then + + for f in $(ls /data/qcks/); do + (ls -l /data/qcks/$f | grep root) && rm /data/qcks/$f; + done + + setprop persist.radio.kickstart on +fi |
