sync the author code

This commit is contained in:
2026-07-21 11:01:29 +07:00
parent a14e4f9c7d
commit 7d5e85fc3e
18 changed files with 186 additions and 521 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/system/bin/sh
MODDIR=${0%/*}
. "$MODDIR/utils.sh"
DFILE="$MODDIR/disabled_by_action"
if [ -z "$(get_mounts)" ]; then
rm -f "$DFILE"
if mount_nosleep; then
echo "* Enabled successfully"
cp -f "$MODDIR/module.prop.orig" "$MODDIR/module.prop"
else
echo "* Failed"
fi
echo ""
get_mounts
else
touch "$DFILE"
umount_all
echo "* Disabled"
ch_desc "⛔ Disabled by action"
fi