From 3588ef9e9e06aedf690b7f6afc8d0eb1b3c6489e Mon Sep 17 00:00:00 2001 From: backslashxx <118538522+backslashxx@users.noreply.github.com> Date: Fri, 21 Nov 2025 21:32:16 +0800 Subject: [PATCH] scripts/metamount: tell ksud about it --- template/metamount.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/template/metamount.sh b/template/metamount.sh index c9e1f6b..c4d9584 100644 --- a/template/metamount.sh +++ b/template/metamount.sh @@ -34,10 +34,11 @@ $BINARY EXIT_CODE=$? -if [ $EXIT_CODE -ne 0 ]; then +if [ "$EXIT_CODE" = 0 ]; then + /data/adb/ksud kernel notify-module-mounted + log "Mount completed successfully" +else log "Mount failed with exit code $EXIT_CODE" - exit $EXIT_CODE fi -log "Mount completed successfully" exit 0