autopif.sh: pass advanced argument to migrate script

This commit is contained in:
Chris Renshaw
2024-09-22 20:08:42 -03:00
committed by GitHub
parent c972637347
commit 796f776534

View File

@@ -5,6 +5,11 @@ if [ "$USER" != "root" -o "$(whoami 2>/dev/null)" != "root" ]; then
exit 1; exit 1;
fi; 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 \ echo "Xiaomi.eu pif.json extractor script \
\n by osm0sis @ xda-developers"; \n by osm0sis @ xda-developers";