139f2b6c6e8c345c393f8b74e74cf84f422a7c29
[live-initramfs-grml.git] / debian / patches / 10_support_ethdevice.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 10_support_ethdevice.dpatch by <mika@grml.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Support bootoption ethdevice
6
7 @DPATCH@
8
9 diff --git a/scripts/live b/scripts/live
10 index db1d355..797a5da 100755
11 --- a/scripts/live
12 +++ b/scripts/live
13 @@ -66,6 +66,11 @@ Arguments ()
14                                 set -x
15                                 ;;
16  
17 +                       ethdevice=*)
18 +                               DEVICE="${ARGUMENT#ethdevice=}"
19 +                               export DEVICE
20 +                               ;;
21 +
22                         fetch=*)
23                                  FETCH="${ARGUMENT#fetch=}"
24                                  export FETCH