"admin.sh" remove outdoor information

This commit is contained in:
Marc René Schädler 2013-12-01 22:24:53 +01:00
parent 616c298119
commit 2aa4ff1360
1 changed files with 0 additions and 12 deletions

View File

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