diff --git a/bsp/default/root_file_system/etc/admin.sh b/bsp/default/root_file_system/etc/admin.sh index bd47c1c..7513934 100755 --- a/bsp/default/root_file_system/etc/admin.sh +++ b/bsp/default/root_file_system/etc/admin.sh @@ -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 $@ ;;