X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fpatches%2F15_networking_grml.patch;h=7de18832cba70c4b0f1d092ab236ecd6489dd84b;hb=20f7af935a25294ceac8b39ed01c0ac61a1915c1;hp=81b4c0dbeadcfa165a6450ca5e769a85d33d3637;hpb=8424e93b27a3c5ae551ff1a5c456d0de96fc67c8;p=live-boot-grml.git diff --git a/debian/patches/15_networking_grml.patch b/debian/patches/15_networking_grml.patch old mode 100755 new mode 100644 index 81b4c0d..7de1883 --- a/debian/patches/15_networking_grml.patch +++ b/debian/patches/15_networking_grml.patch @@ -9,33 +9,19 @@ @DPATCH@ diff a/scripts/live-bottom/23networking_grml b/scripts/live-bottom/23networking_grml ---- /dev/null -+++ b/scripts/live-bottom/23networking_grml -@@ -0,0 +1,107 @@ +Index: live-boot-grml/components/9990-grml-networking.sh +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ live-boot-grml/components/9990-grml-networking.sh 2014-03-08 13:26:53.959682953 +0100 +@@ -0,0 +1,93 @@ +#!/bin/sh + +#set -e + -+# initramfs-tools header -+ -+PREREQ="" -+ -+prereqs() -+{ -+ echo "${PREREQ}" -+} -+ -+case "${1}" in -+ prereqs) -+ prereqs -+ exit 0 -+ ;; -+esac -+ -+. /scripts/live-functions ++Grml_Networking () { + +if [ -n "${NONETWORKING}" ]; then -+ exit 0 ++ return 0 +fi + +modprobe af_packet # req'd for DHCP @@ -79,7 +65,7 @@ diff a/scripts/live-bottom/23networking_grml b/scripts/live-bottom/23networking_ + + # NODHCP or a previously run ipconfig mean that ifupdown should never + # touch this interface (IP-stack wise). -+ netconfig=/tmp/net-${interface}.conf ++ netconfig=/run/net-${interface}.conf + if [ -n "$NODHCP" ] || [ -e "${netconfig}" ]; then + method="manual" + fi @@ -120,3 +106,17 @@ diff a/scripts/live-bottom/23networking_grml b/scripts/live-bottom/23networking_ + echo>> $IFFILE +done + ++} +Index: live-boot-grml/components/9990-main.sh +=================================================================== +--- live-boot-grml.orig/components/9990-main.sh 2014-03-08 13:26:53.963682483 +0100 ++++ live-boot-grml/components/9990-main.sh 2014-03-08 13:26:53.959682953 +0100 +@@ -195,6 +195,8 @@ + + Swap + ++ Grml_Networking ++ + case "${UNIONFS}" in + unionfs-fuse) + umount "${rootmnt}/dev"