projects
/
grml-terminalserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated TODO file
[grml-terminalserver.git]
/
linuxrc
diff --git
a/linuxrc
b/linuxrc
index
5ab61ff
..
10e677e
100755
(executable)
--- a/
linuxrc
+++ b/
linuxrc
@@
-392,7
+392,7
@@
if test -z "$NOUSB"; then
if test -f /modules/div/usbcore.ko; then
$INSMOD /modules/div/usbcore.ko >/dev/null 2>&1
FOUNDUSB=""
if test -f /modules/div/usbcore.ko; then
$INSMOD /modules/div/usbcore.ko >/dev/null 2>&1
FOUNDUSB=""
- for i in $USB2 uhci-hcd.ko ohci-hcd.ko ; do
+ for i in $USB2 uhci-hcd.ko ohci-hcd.ko
usbhid.ko
; do
test -f /modules/div/$i && $INSMOD /modules/div/$i >/dev/null 2>&1 && FOUNDUSB="yes"
done
if test -n "$FOUNDUSB"; then
test -f /modules/div/$i && $INSMOD /modules/div/$i >/dev/null 2>&1 && FOUNDUSB="yes"
done
if test -n "$FOUNDUSB"; then
@@
-549,7
+549,12
@@
if [ -n "$NFS" ]; then
# loading additional modules
modLoad sunrpc lockd af_packet nfs
# loading additional modules
modLoad sunrpc lockd af_packet nfs
- for INTERFACE in `ifconfig -a | grep '^eth' | sed 's/\ .*//'` ; do
+ dhcp_iface_=$(getbootparam dhcp_iface)
+ if [ -z "$dhcp_iface_" ]; then
+ dhcp_iface_=`ifconfig -a | grep '^eth' | sed 's/ .*//'`
+ fi
+
+ for INTERFACE in $dhcp_iface_ ; do
log_begin_msg "Requesting network configuration using udhcp for ${INTERFACE}:" ; echo
/static/timeout 10 /static/udhcpc --interface="${INTERFACE}" --foreground --quit --script=/static/udhcp-config.sh
# echo "press <enter> to start a system shell and configure your system"
log_begin_msg "Requesting network configuration using udhcp for ${INTERFACE}:" ; echo
/static/timeout 10 /static/udhcpc --interface="${INTERFACE}" --foreground --quit --script=/static/udhcp-config.sh
# echo "press <enter> to start a system shell and configure your system"