$(install_) -m 755 modcalc $(usrshare)
$(install_) -m 755 rdir $(usrshare)
$(install_) -m 755 cdir $(usrshare)
+ $(install_) -m 755 timeout $(usrshare)
$(install_) -m 755 discover-nic $(usrshare)
cp -r templates $(usrshare)
grml-terminalserver (0.74) unstable; urgency=low
* Run udhcpc for earch present interface.
+ * Added statically compiled binary timeout, taken from
+ Coroner's Toolkit (TCT), built running
+ diet gcc -static -o timeout timeout.c
-- Michael Prokop <mika@grml.org> Fri, 17 Nov 2006 19:20:43 +0100
Sources available at http://grml.org/repos/ and http://hg.grml.org/
+The timeout binary has been extracted from package tct (Forensics related utilities) version 1.11-6.3.
+The udhcpc binary has been built from package udhcp-0.9.8cvs20050303.
+
Copyright (C) 2003++ Michael Gebetsroither <gebi@grml.org> and Michael Prokop <mika@grml.org>
This package is free software; you can redistribute it and/or modify
# implanting my initrd changes into the original initrd
# copy programs, check if there are already links with this name to busybox
- for i in $USR_SHARE_/discover* $USR_SHARE_/udhcpc $USR_SHARE_/udhcp-config.sh $USR_SHARE_/cdir $USR_SHARE_/rdir /usr/bin/ldd ;do
+ for i in $USR_SHARE_/timeout $USR_SHARE_/discover* $USR_SHARE_/udhcpc $USR_SHARE_/udhcp-config.sh $USR_SHARE_/cdir $USR_SHARE_/rdir /usr/bin/ldd ;do
tmp_name_="${i##*/}"
isNotExistent "$INITRD_/static/$tmp_name_" eprint || execute "rm $INITRD_/static/$tmp_name_"
cp $i "$INITRD_/static/$tmp_name_"
for INTERFACE in `ifconfig -a | grep '^eth' | 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
+ /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"
# sh
done