X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fpatches%2F09_bootoption_noudev.dpatch;fp=debian%2Fpatches%2F09_bootoption_noudev.dpatch;h=0000000000000000000000000000000000000000;hb=10cf8473cb8adbcff3589f98134b92b164217187;hp=e1796dd9acbc7046b04be81bb220ef9a079eaf00;hpb=b5b937f1ca057c2cd3acdf5279b95d1559a043e8;p=live-boot-grml.git diff --git a/debian/patches/09_bootoption_noudev.dpatch b/debian/patches/09_bootoption_noudev.dpatch deleted file mode 100755 index e1796dd..0000000 --- a/debian/patches/09_bootoption_noudev.dpatch +++ /dev/null @@ -1,27 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 09_bootoption_noudev.dpatch by Christian Hofstaedtler -## -## 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