1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 11_dhcphostname.dpatch by Andreas Thienemann <andreas@bawue.net>
3 ## and Michael Prokop <mika@grml.org>
5 ## All lines beginning with `## DP:' are a description of the patch.
6 ## DP: Support disabling setting hostname via DNS info
10 Support 'nodhcphostname' option which will disable setting the
11 hostname of the booted system according to the DNS information.
12 This patch takes care of the netboot case.
15 ===================================================================
16 --- a/scripts/live 2011-07-24 22:07:59.000000000 +0200
17 +++ b/scripts/live 2011-07-24 22:08:02.000000000 +0200
19 export NOACCESSIBILITY
23 + NODHCPHOSTNAME="Yes"
24 + export NODHCPHOSTNAME