From 796f7765343397b7d99d699fda0cc09ff2a8b8d3 Mon Sep 17 00:00:00 2001 From: Chris Renshaw Date: Sun, 22 Sep 2024 20:08:42 -0300 Subject: [PATCH] autopif.sh: pass advanced argument to migrate script --- module/autopif.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/module/autopif.sh b/module/autopif.sh index 1aca455..5396af6 100644 --- a/module/autopif.sh +++ b/module/autopif.sh @@ -5,6 +5,11 @@ if [ "$USER" != "root" -o "$(whoami 2>/dev/null)" != "root" ]; then exit 1; fi; +case "$1" in + -h|--help|help) echo "sh autopif.sh [-a]"; exit 0;; + -a|--advanced|advanced) ARGS="-a";; +esac; + echo "Xiaomi.eu pif.json extractor script \ \n by osm0sis @ xda-developers";