mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-11 22:34:02 +01:00
10 lines
324 B
Bash
Executable File
10 lines
324 B
Bash
Executable File
#!/system/bin/sh
|
|
# Runs early in boot - set up hosts file
|
|
# MODDIR is set by Magisk and points to this module's directory
|
|
GUARDIAN_DIR="/data/adb/android_guardian"
|
|
|
|
mkdir -p "$GUARDIAN_DIR"
|
|
|
|
# Log that we're starting
|
|
echo "[$(date '+%Y-%m-%d %H:%M:%S')] post-fs-data: Guardian module loading" >>"$GUARDIAN_DIR/guardian.log"
|