Skip to content
Snippets Groups Projects
Commit ebceae82 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-config-mode: don't include sysconfig before the start function is called

Otherwise the enable during image create will throw a few error messages
parent c839bd88
No related branches found
No related tags found
No related merge requests found
......@@ -10,10 +10,6 @@ config_mode_dnsname=freifunk
config_mode_dhcp_range=192.168.1.2,192.168.1.254
. /lib/functions.sh
. /lib/gluon/functions/sysconfig.sh
delete_interface() {
[ "$1" = 'loopback' ] || uci_remove network "$1"
}
......@@ -29,6 +25,8 @@ check_enable() {
}
start() {
. /lib/gluon/functions/sysconfig.sh
enable=0
config_load gluon-config-mode
config_foreach check_enable wizard
......
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