summaryrefslogtreecommitdiff
path: root/src/core/procedures/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/procedures/base')
-rw-r--r--src/core/procedures/base9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/procedures/base b/src/core/procedures/base
index fbab6f7..dd05773 100644
--- a/src/core/procedures/base
+++ b/src/core/procedures/base
@@ -159,10 +159,11 @@ worker_install_packages ()
worker_auto_network ()
{
- [ "$S_DHCP" = 1 ] && target_configure_network dhcp "$PROXY_HTTP" "$PROXY_FTP" && return 0
- [ "$S_DHCP" = 0 ] && target_configure_network fixed "$PROXY_HTTP" "$PROXY_FTP" && return 0
- [ "$S_DHCP" != 1 -a "$S_DHCP" != 0 ] && return 0
- return 1
+ if [ -f $RUNTIME_DIR/aif-network-settings ]
+ then
+ target_configure_network || return $?
+ fi
+ return 0
}