action.sh clears persistent key storage on user trigger. uninstall.sh kills daemon processes and removes all module artifacts while preserving target.txt and keybox config.
12 lines
290 B
Bash
12 lines
290 B
Bash
#!/system/bin/sh
|
|
MODDIR=${0%/*}
|
|
CONFIG_DIR=/data/adb/tricky_store
|
|
|
|
if [ -d "$CONFIG_DIR/persistent_keys" ]; then
|
|
rm -rf "$CONFIG_DIR/persistent_keys"
|
|
mkdir -p "$CONFIG_DIR/persistent_keys"
|
|
echo "Persistent key storage cleared"
|
|
else
|
|
echo "No persistent key storage found"
|
|
fi
|