#!/bin/bash
-# Reading system configuration informations, functions and package versions.
-source ../config/sysinfos
-source ../functions
-source ../config/packages-list
+source ../functions/main
DHCP_USED="no"
echo "IFSCOPE=\"\"" >> ${file}
echo "GATEWAY=\"${GATEWAY[${LOOP_INDEX}]}\"" >> ${file}
- if [ "x${BOOTPROTO[${LOOP_INDEX}]}" = "xdhcp" ]; then
+ if [ "x${BOOTPROTO[${LOOP_INDEX}]}" = "xdhcp" -o \
+ "x${BOOTPROTO[${LOOP_INDEX}]}" = "xwifi" ]; then
DHCP_USED="yes"
fi