Skip to content

Commit

Permalink
Action script for STweaks for Fix File System Check and Repair on eve…
Browse files Browse the repository at this point in the history
…ry boot
  • Loading branch information
computoncio committed Aug 29, 2013
1 parent 6da831c commit f322a42
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions res/customconfig/actions/fix_fs_on_boot_auto
@@ -0,0 +1,18 @@
#!/sbin/busybox sh

if [ "a$2" != "a" ]; then
case "$2" in
on)
echo 1 > $EXTERNAL_STORAGE/.fix_fs_on_boot_auto;
;;
off)
rm -f $EXTERNAL_STORAGE/.fix_fs_on_boot_auto;
;;
esac;
fi;

if [ -f $EXTERNAL_STORAGE/.fix_fs_on_boot_auto ]; then
echo on;
else
echo off;
fi;

0 comments on commit f322a42

Please sign in to comment.