Use quilt instead of dpatch
[live-boot-grml.git] / debian / patches / 16_nodhcp.patch
diff --git a/debian/patches/16_nodhcp.patch b/debian/patches/16_nodhcp.patch
new file mode 100755 (executable)
index 0000000..8f52d21
--- /dev/null
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 16_nodhcp.dpatch by Ulrich Dangel <mru@grml.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Handle explicit "nodhcp"
+
+@DPATCH@
+
+diff --git a/scripts/live b/scripts/live
+index 5681362..46ef54b 100755
+--- a/scripts/live
++++ b/scripts/live
+@@ -88,6 +88,8 @@ Arguments ()
+                       nodhcp)
+                               unset DHCP
++                              NODHCP="Yes"
++                              export NODHCP
+                               ;;
+                       ethdevice=*)