don't mess around with kernel/initramfs-tools' ip=
[live-boot-grml.git] / debian / patches / 09_bootoption_noudev.dpatch
diff --git a/debian/patches/09_bootoption_noudev.dpatch b/debian/patches/09_bootoption_noudev.dpatch
deleted file mode 100755 (executable)
index e1796dd..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 09_bootoption_noudev.dpatch by Christian Hofstaedtler <ch@grml.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: honor bootoption "noudev"
-
-@DPATCH@
-diff --git a/scripts/live-bottom/23networking b/scripts/live-bottom/23networking
-index 9554b77..f85b29e 100755
---- a/scripts/live-bottom/23networking
-+++ b/scripts/live-bottom/23networking
-@@ -46,8 +46,13 @@ iface lo inet loopback
- EOF
--udevadm trigger
--udevadm settle
-+if grep -q noudev /proc/cmdline
-+then
-+      log_begin_msg "Skipping udev as requested via bootoption noudev."
-+else
-+      udevadm trigger
-+      udevadm settle
-+fi
- if [ -z "${NETBOOT}" -a -n "${STATICIP}" -a "${STATICIP}" != "frommedia" ]
- then