8f52d21fc3fa8271bfdf0488354f4648aad147d6
[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 5681362..46ef54b 100755
11 --- a/scripts/live
12 +++ b/scripts/live
13 @@ -88,6 +88,8 @@ Arguments ()
14  
15                         nodhcp)
16                                 unset DHCP
17 +                               NODHCP="Yes"
18 +                               export NODHCP
19                                 ;;
20  
21                         ethdevice=*)