Skip to content

Commit

Permalink
fix 卸载脚本在某些设备上无法运行的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
E7KMbb committed Jul 25, 2021
1 parent 731d3a3 commit 9d5c1d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ until [ $(getprop sys.boot_completed) -eq 1 ] && [ -d "$work_dir" ]; do
done

. $MODDIR/script/select.ini

if [ $update_boot_start = "true" ]; then
sh $MODDIR/script/functions.sh
fi
Expand Down
4 changes: 0 additions & 4 deletions uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ for mount_path in /system /; do
mount -o remount,rw ${mount_path} &> /dev/null
if [ -w ${mount_path} ]; then
break;
else
if [ ${mount_path} = / ]; then
exit 0
fi
fi
done
if [ -e $work_dir/syshosts.bak ];then
Expand Down

0 comments on commit 9d5c1d3

Please sign in to comment.