-
-
Notifications
You must be signed in to change notification settings - Fork 22
Home
ipitio edited this page May 2, 2024
·
29 revisions
The script was written because the Mod needed an installation manager -- manually cloning and swapping repos was tedious and took a hot minute. No more! With this script, the process has been completely automated. The default (installation) action is to sync local Pi-hole repositories with our latest compatible releases. See below for more options and the sidebar for specific instructions.
sudo bash /path/to/mod.sh [options]
or
curl -sSLN //link/to/mod.sh | sudo bash [-s -- options]
or, once installed
pihole -a -sm [options]
This repo hosts a shortcut to the latter, which you can call like so:
curl -sSL https://github.com/arevindh/pihole-speedtest/raw/master/mod | sudo bash [-s -- options]
-
-u, --update, up
also update Pi-hole -
-r, --reinstall
keep current version of the mod, if installed -
-t, --testing
install the beta version of the mod
-
-n, --uninstall, un
purge the mod, keeping the speedtest package, logs, and database -
-b, --backup
backup Pi-hole for faster offline restore -
-o, --online
force online restore of Pi-hole
-
-d, --database, db
flush/restore the database if it's not/empty -
-s, --speedtest[=<sivel|libre>]
install Ookla's or the specified CLI even if another is already installed -
-x, --verbose
show the commands being run -
-v, --version
display the version of the mod and exit -
-h, --help
display this help message and exit