projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-Replaced ffmpeg-svn by ffmpeg-git
[hvlinux.git]
/
stage2
/
install-bootscripts
diff --git
a/stage2/install-bootscripts
b/stage2/install-bootscripts
index
894c344
..
63415ee
100755
(executable)
--- a/
stage2/install-bootscripts
+++ b/
stage2/install-bootscripts
@@
-1,9
+1,6
@@
#!/bin/bash
#!/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"
DHCP_USED="no"
@@
-25,7
+22,8
@@
for nic_device in ${INTERFACES}; do
echo "IFSCOPE=\"\"" >> ${file}
echo "GATEWAY=\"${GATEWAY[${LOOP_INDEX}]}\"" >> ${file}
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
DHCP_USED="yes"
fi