7558a8952472a25872b0de91f1c1bae2f1af2345
[live-boot-grml.git] / debian / patches / 16_nodhcp.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 16_nodhcp.dpatch by Ulrich Dangel <mru@grml.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Handle explicit "nodhcp"
6
7 @DPATCH@
8
9 diff --git a/scripts/live b/scripts/live
10 index d79beed..0b698de 100755
11 --- a/scripts/live
12 +++ b/scripts/live
13 @@ -83,7 +83,8 @@ Arguments ()
14                                 ;;
15  
16                         nodhcp)
17 -                               unset DHCP
18 +                               NODHCP="Yes"
19 +                               export NODHCP
20                                 ;;
21  
22                         ethdevice=*)