projects
/
grml-terminalserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
125f88f
)
try to run udhcpc for earch present device in /linuxrc
author
Michael Prokop
<mika@grml.org>
Fri, 17 Nov 2006 18:20:40 +0000
(19:20 +0100)
committer
Michael Prokop
<mika@grml.org>
Fri, 17 Nov 2006 18:20:40 +0000
(19:20 +0100)
linuxrc
patch
|
blob
|
history
diff --git
a/linuxrc
b/linuxrc
index
70eb0e3
..
e7b15c6
100755
(executable)
--- a/
linuxrc
+++ b/
linuxrc
@@
-549,10
+549,12
@@
if [ -n "$NFS" ]; then
# loading additional modules
modLoad sunrpc lockd af_packet nfs
# loading additional modules
modLoad sunrpc lockd af_packet nfs
- log_begin_msg "Requesting network configuration using udhcp:" ; echo
- /static/udhcpc --foreground --quit --script=/static/udhcp-config.sh
- #echo "press <enter> to start a system shell and configure your system"
- #sh
+ for INTERFACE in `ifconfig | grep '^[a-z]' | sed 's/\ .*//'` ; do
+ log_begin_msg "Requesting network configuration using udhcp for ${INTERFACE}:" ; echo
+ /static/udhcpc --interface="${INTERFACE}" --foreground --quit --script=/static/udhcp-config.sh
+ # echo "press <enter> to start a system shell and configure your system"
+ # sh
+ done
# recreate the old dir structures
rdir
# recreate the old dir structures
rdir