summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kozik <ivan@ludios.org>2017-12-06 09:35:36 +0000
committerBen Hutchings <ben@decadent.org.uk>2018-07-18 20:47:48 +0100
commit54367c04c56cec71bda6e13fd10f8c2d9a1b4493 (patch)
tree8d573390f1a2aa7ddc300ee8166b8e605d3c3c37
parent2a9d97d3d176fc7b8b507ce332c62c10b8b2353f (diff)
init: export DEVICE so that when configured, it is actually set in configure_networking
[bwh: Also unset it before invoking init] Closes: #883664 Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rwxr-xr-xinit2
1 files changed, 2 insertions, 0 deletions
diff --git a/init b/init
index 3f59c07..5d10622 100755
--- a/init
+++ b/init
@@ -49,6 +49,7 @@ export ROOTDELAY=
export ROOTFLAGS=
export ROOTFSTYPE=
export IP=
+export DEVICE=
export BOOT=
export BOOTIF=
export UBIMTD=
@@ -300,6 +301,7 @@ unset ROOT
unset IP
unset BOOT
unset BOOTIF
+unset DEVICE
unset UBIMTD
unset blacklist
unset break