From b0b95ae135e05f366fbec443281ab7fb718d2ba5 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Mon, 30 Sep 2013 14:42:01 +0200 Subject: [PATCH] configmode: migrate uci config of pre 0.4 firmwares --- .../lib/gluon/upgrade/configmode/0.4/001-migrate-uci-config | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 package/gluon-config-mode/files/lib/gluon/upgrade/configmode/0.4/001-migrate-uci-config diff --git a/package/gluon-config-mode/files/lib/gluon/upgrade/configmode/0.4/001-migrate-uci-config b/package/gluon-config-mode/files/lib/gluon/upgrade/configmode/0.4/001-migrate-uci-config new file mode 100755 index 00000000..e3ff8f2c --- /dev/null +++ b/package/gluon-config-mode/files/lib/gluon/upgrade/configmode/0.4/001-migrate-uci-config @@ -0,0 +1,6 @@ +#!/bin/sh + +OLD_CFG=/etc/config/config_mode +NEW_CFG=/etc/config/configmode + +[ -f $OLD_CFG ] && mv $OLD_CFG $NEW_CFG