forked from freifunk-franken/firmware
"admin.sh" remove outdoor information
This commit is contained in:
parent
616c298119
commit
2aa4ff1360
|
@ -125,14 +125,6 @@ set_location() {
|
|||
uci commit
|
||||
}
|
||||
|
||||
set_outdoor() {
|
||||
local OUTDOOR="$1"
|
||||
check bool "$OUTDOOR" || return 1
|
||||
uci set site.location=location
|
||||
uci set site.location.outdoor="$OUTDOOR"
|
||||
uci commit
|
||||
}
|
||||
|
||||
set_direction() {
|
||||
local DIRECTION="$@"
|
||||
DIRECTION=$(echo "$DIRECTION" | tr "nesw" "NESW") || return 1
|
||||
|
@ -199,10 +191,6 @@ case "$ACTION" in
|
|||
set_location $@
|
||||
;;
|
||||
|
||||
outdoor)
|
||||
set_outdoor $@
|
||||
;;
|
||||
|
||||
direction)
|
||||
set_direction $@
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue
Block a user