summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Amadori <amadorim@vdavda.com>2010-07-07 11:39:12 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:53:26 +0100
commit80026078c1da55cfe3aee0fd98ea791a8b6f1ecf (patch)
tree4a18958e2e174711d1bccbb3f2260d281e6cd2f2
parent70df56d17f2c013627e0f4f512812c313c8e3b5a (diff)
downloadlive-boot-80026078c1da55cfe3aee0fd98ea791a8b6f1ecf.tar.gz
live-boot-80026078c1da55cfe3aee0fd98ea791a8b6f1ecf.zip
Removing unreachable code in ethdevice argument handling (Closes: #588307).
-rwxr-xr-xscripts/live8
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/live b/scripts/live
index 3a6094f..11ad984 100755
--- a/scripts/live
+++ b/scripts/live
@@ -88,12 +88,8 @@ Arguments ()
ethdevice=*)
DEVICE="${ARGUMENT#ethdevice=}"
- export DEVICE
- ;;
-
- ethdevice=*)
- ETHDEVICE="${ARGUMENT#ethdevice=}"
- export ETHDEVICE
+ ETHDEVICE="${DEVICE}"
+ export DEVICE ETHDEVICE
;;
ethdevice-timeout=*)