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

This commit is contained in:
Nils Schneider 2014-03-02 20:24:27 +01:00
parent b9a1de7286
commit f675d63587
1 changed files with 0 additions and 15 deletions

View File

@ -1,15 +0,0 @@
#!/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