update our patches on top of Debian's 4.0~alpha19
[live-boot-grml.git] / debian / patches / 11_dhcphostname.patch
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>
4 ##
5 ## All lines beginning with `## DP:' are a description of the patch.
6 ## DP: Support disabling setting hostname via DNS info
7
8 @DPATCH@
9
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.
13
14 Index: live-boot-grml/components/9990-cmdline-old
15 ===================================================================
16 --- live-boot-grml.orig/components/9990-cmdline-old     2014-03-08 13:21:20.186833068 +0100
17 +++ live-boot-grml/components/9990-cmdline-old  2014-03-08 13:21:20.182833537 +0100
18 @@ -140,6 +140,11 @@
19                                 export NFS_COW
20                                 ;;
21  
22 +                       nodhcphostname)
23 +                               NODHCPHOSTNAME="Yes"
24 +                               export NODHCPHOSTNAME
25 +                               ;;
26 +
27                         nofstab)
28                                 NOFSTAB="true"
29                                 export NOFSTAB