Changed -web (webpage) to -a (admin)
This commit is contained in:
parent
33b6fe72da
commit
f50cbe74cb
|
@ -13,9 +13,9 @@ args=("$@")
|
||||||
|
|
||||||
helpFunc() {
|
helpFunc() {
|
||||||
cat << EOM
|
cat << EOM
|
||||||
::: Set options for the web interface of pihole
|
::: Set admin options for the web interface of pihole
|
||||||
:::
|
:::
|
||||||
::: Usage: pihole -web [options]
|
::: Usage: pihole -a [options]
|
||||||
:::
|
:::
|
||||||
::: Options:
|
::: Options:
|
||||||
::: -p, password Set web interface password, an empty input will remove any previously set password
|
::: -p, password Set web interface password, an empty input will remove any previously set password
|
||||||
|
|
6
pihole
6
pihole
|
@ -185,7 +185,7 @@ helpFunc() {
|
||||||
::: Control all PiHole specific functions!
|
::: Control all PiHole specific functions!
|
||||||
:::
|
:::
|
||||||
::: Usage: pihole [options]
|
::: Usage: pihole [options]
|
||||||
::: Add -h after -w (whitelist), -b (blacklist), -c (chronometer), or -web (webpage) for more information on usage
|
::: Add -h after -w (whitelist), -b (blacklist), -c (chronometer), or -a (admin) for more information on usage
|
||||||
:::
|
:::
|
||||||
::: Options:
|
::: Options:
|
||||||
::: -w, whitelist Whitelist domains
|
::: -w, whitelist Whitelist domains
|
||||||
|
@ -200,7 +200,7 @@ helpFunc() {
|
||||||
::: -v, version Show current versions
|
::: -v, version Show current versions
|
||||||
::: -q, query Query the adlists for a specific domain
|
::: -q, query Query the adlists for a specific domain
|
||||||
::: -l, logging Enable or Disable logging (pass 'on' or 'off')
|
::: -l, logging Enable or Disable logging (pass 'on' or 'off')
|
||||||
::: -web, webpage Webpage options
|
::: -a, admin Admin webpage options
|
||||||
::: uninstall Uninstall Pi-Hole from your system :(!
|
::: uninstall Uninstall Pi-Hole from your system :(!
|
||||||
::: status Is Pi-Hole Enabled or Disabled
|
::: status Is Pi-Hole Enabled or Disabled
|
||||||
::: enable Enable Pi-Hole DNS Blocking
|
::: enable Enable Pi-Hole DNS Blocking
|
||||||
|
@ -234,6 +234,6 @@ case "${1}" in
|
||||||
"disable" ) piholeEnable 0;;
|
"disable" ) piholeEnable 0;;
|
||||||
"status" ) piholeStatus "$2";;
|
"status" ) piholeStatus "$2";;
|
||||||
"restartdns" ) restartDNS;;
|
"restartdns" ) restartDNS;;
|
||||||
"-web" | "webpage" ) webpageFunc "$@";;
|
"-a" | "admin" ) webpageFunc "$@";;
|
||||||
* ) helpFunc;;
|
* ) helpFunc;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue