+ if [ -n "${IP_ADDRESS[${LOOP_INDEX}]}" ]; then
+ echo "IPADDR=\"${IP_ADDRESS[${LOOP_INDEX}]}\"" >> ${file}
+ fi
+ if [ -n "${PREFIX_LENGTH[${LOOP_INDEX}]}" ]; then
+ echo "PREFIX_LENGTH=\"${PREFIX_LENGTH[${LOOP_INDEX}]}\"" >> ${file}
+ fi
+ if [ -n "${GATEWAY[${LOOP_INDEX}]}" ]; then
+ echo "GATEWAY=\"${GATEWAY[${LOOP_INDEX}]}\"" >> ${file}
+ fi
+