From 343d0f3d0efaf486ddc676130786d95fc06f682c Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Mon, 3 Jul 2006 20:27:23 +0000 Subject: Enhanced debugging settings (see DebugLevel), some fixes for the use with busybox, ... git-svn-id: http://svn.openslx.org/svn/openslx/ld4@267 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/bin/dhcpmkconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'initrd/initrd-stuff/bin/dhcpmkconfig') diff --git a/initrd/initrd-stuff/bin/dhcpmkconfig b/initrd/initrd-stuff/bin/dhcpmkconfig index ca9a6412..8f25f538 100755 --- a/initrd/initrd-stuff/bin/dhcpmkconfig +++ b/initrd/initrd-stuff/bin/dhcpmkconfig @@ -4,7 +4,7 @@ # several dhcp clients. The result is written in unified form # to the /etc/machine-setup file # -# Author(s): Dirk von Suchodoletz , 29-06-2006 +# Author(s): Dirk von Suchodoletz , 03-07-2006 # Lars Mueller, 23-06-2006 # Oliver Tappe, 23-06-2006 # @@ -17,6 +17,9 @@ infomsg="# --> You are using $dhcl. With this client you are not \ able to\n# transfer any vendor specific, self defined dhcp options. If \ this is\n# intended, use dhclient instead or get them via tftp (to be \ enabled\n# via kernel command line)." +# heavy debugging output in level 3 and above ... and on 13 +[ $DEBUGLEVEL -gt 3 -a $DEBUGLEVEL -lt 10 -o $DEBUGLEVEL -eq 13 ] && \ + set -x case $0 in *dhcpcd*) dhcl="dhcpcd"; echo -e "$infomsg" >>/tmp/confviadhcp -- cgit v1.2.3-55-g7522