-
-
Notifications
You must be signed in to change notification settings - Fork 23
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, upalso update Pi-hole -
-r, --reinstallkeep current version of the mod, if installed -
-t, --testinginstall the beta version of the mod
-
-n, --uninstall, unpurge the mod, keeping the speedtest package, logs, and database -
-b, --backupbackup Pi-hole for faster offline restore -
-o, --onlineforce online restore of Pi-hole
-
-d, --database, dbflush/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, --verboseshow the commands being run -
-v, --versiondisplay the version of the mod and exit -
-h, --helpdisplay this help message and exit