diff options
authorJuergen Borleis <>2014-04-23 11:19:26 +0200
committerSascha Hauer <>2014-04-24 09:03:31 +0200
commitfb67ada79add357cf14c919504e27d54d91ca444 (patch)
parent3018f1367075dd5310fc5f5ceaf6706ae67b3013 (diff)
default environment: force a specific return value
Since commit a162dfe50345d3461010759f8a0e79f7e388c140 the ifup command runs this file as a script. Due to a hush misbehave it could happen it returns an error code by accident. For example if the last instructions in this file are: if [ false ]; then echo "friesel" fi the hush returns 1 after running this script instead of 0 and in this case the ifup command fails. I know, the correct fix would be to fix the hush, because it is a generic issue...but how? Signed-off-by: Juergen Borleis <> Signed-off-by: Sascha Hauer <>
1 files changed, 2 insertions, 0 deletions
diff --git a/defaultenv/defaultenv-2-base/network/eth0 b/defaultenv/defaultenv-2-base/network/eth0
index 7e731ca..33fe7c1 100644
--- a/defaultenv/defaultenv-2-base/network/eth0
+++ b/defaultenv/defaultenv-2-base/network/eth0
@@ -14,3 +14,5 @@ serverip=
# put code to discover eth0 (i.e. 'usb') to /env/network/eth0-discover
+exit 0