diff options
Diffstat (limited to 'addonsu/unmount-system.sh')
-rw-r--r-- | addonsu/unmount-system.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/addonsu/unmount-system.sh b/addonsu/unmount-system.sh deleted file mode 100644 index 19b34311..00000000 --- a/addonsu/unmount-system.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/sh - -# Modern devices use /system as root ("/") -system_as_root=`getprop ro.build.system_root_image` -if [ "$system_as_root" == "true" ]; then - if umount /system_root; then - exit 0 - fi -else - if umount /system; then - exit 0 - fi -fi - -exit 1 |