1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-16 20:24:07 +02:00

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
This commit is contained in:
Matthias Schiffer 2014-02-06 00:05:10 +01:00
parent 694c22ace7
commit 261355e1da

View File

@ -10,10 +10,6 @@ config_mode_dnsname=freifunk
config_mode_dhcp_range=192.168.1.2,192.168.1.254 config_mode_dhcp_range=192.168.1.2,192.168.1.254
. /lib/functions.sh
. /lib/gluon/functions/sysconfig.sh
delete_interface() { delete_interface() {
[ "$1" = 'loopback' ] || uci_remove network "$1" [ "$1" = 'loopback' ] || uci_remove network "$1"
} }
@ -29,6 +25,8 @@ check_enable() {
} }
start() { start() {
. /lib/gluon/functions/sysconfig.sh
enable=0 enable=0
config_load gluon-config-mode config_load gluon-config-mode
config_foreach check_enable wizard config_foreach check_enable wizard