diff options
| author | Dirk von Suchodoletz | 2006-07-03 22:27:23 +0200 |
|---|---|---|
| committer | Dirk von Suchodoletz | 2006-07-03 22:27:23 +0200 |
| commit | 343d0f3d0efaf486ddc676130786d95fc06f682c (patch) | |
| tree | 4f036b493d07325cdfa748fa558916311438ca5c /initrd/initrd-stuff/bin/dhcpmkconfig | |
| parent | Just check in - do not use this version. (diff) | |
| download | core-343d0f3d0efaf486ddc676130786d95fc06f682c.tar.gz core-343d0f3d0efaf486ddc676130786d95fc06f682c.tar.xz core-343d0f3d0efaf486ddc676130786d95fc06f682c.zip | |
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
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 |
