New Controls to WebUI

This commit is contained in:
Siddhu 2017-07-15 10:18:29 +05:30
parent ecde222512
commit 9d9388965d

View file

@ -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