diff options
Diffstat (limited to 'initrd/initrd-stuff/bin/dhcpmkconfig')
| -rwxr-xr-x | initrd/initrd-stuff/bin/dhcpmkconfig | 5 |
1 files changed, 4 insertions, 1 deletions
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 <dirk@goe.net>, 29-06-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 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 |
