Skip to content
Snippets Groups Projects
Commit 69387322 authored by Nils Schneider's avatar Nils Schneider
Browse files

gluon-node-info: remove 010-migrate-location

parent 020169f2
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
# This is a temporary upgrade script for an upgrade between experimental versions. It should be removed before the first Gluon release
. /lib/functions.sh
if [ -e /etc/config/gluon-location ]; then
uci_set gluon-node-info '@location[0]' share_location "$(uci get gluon-location.@location[0].share_location)"
uci_set gluon-node-info '@location[0]' latitude "$(uci get gluon-location.@location[0].latitude)"
uci_set gluon-node-info '@location[0]' longitude "$(uci get gluon-location.@location[0].longitude)"
uci_commit gluon-node-info
rm /etc/config/gluon-location
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment