mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-04 22:50:18 +00:00
New Controls to WebUI
This commit is contained in:
parent
ecde222512
commit
9d9388965d
1 changed files with 11 additions and 3 deletions
|
@ -313,6 +313,13 @@ SetWebUILayout() {
|
|||
change_setting "WEBUIBOXEDLAYOUT" "${args[2]}"
|
||||
}
|
||||
|
||||
ChageSpeedTestStatus(){
|
||||
change_setting "ENABLESPEEDTEST" "${args[2]}"
|
||||
}
|
||||
ChageSpeedTestSchedule(){
|
||||
change_setting "SPEEDTESTSCHEDULE" "${args[2]}"
|
||||
}
|
||||
|
||||
CustomizeAdLists() {
|
||||
list="/etc/pihole/adlists.list"
|
||||
|
||||
|
@ -454,6 +461,7 @@ main() {
|
|||
"-i" | "interface" ) SetListeningMode "$@";;
|
||||
"-t" | "teleporter" ) Teleporter;;
|
||||
"adlist" ) CustomizeAdLists;;
|
||||
"speedtest" ) ChageSpeedTestStatus;
|
||||
* ) helpFunc;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue