diff options
author | Jonathan Bauer | 2019-08-27 12:28:39 +0200 |
---|---|---|
committer | Jonathan Bauer | 2019-08-27 12:28:39 +0200 |
commit | 64ac97cbb01335970bdf5f6d6ec2888f4e54ae67 (patch) | |
tree | 4b6df3a1f7ea73b7f785f7c44af2df44d3395b2a /builder/modules.d/slx-network/scripts/setup-bootif-network.stage4 | |
parent | [slx-dmsetup] log growfs output (diff) | |
download | systemd-init-64ac97cbb01335970bdf5f6d6ec2888f4e54ae67.tar.gz systemd-init-64ac97cbb01335970bdf5f6d6ec2888f4e54ae67.tar.xz systemd-init-64ac97cbb01335970bdf5f6d6ec2888f4e54ae67.zip |
[slx-network] fix bad guard
Script would bail out if no fixed ip adress was given through kernel
command line.
Diffstat (limited to 'builder/modules.d/slx-network/scripts/setup-bootif-network.stage4')
-rwxr-xr-x | builder/modules.d/slx-network/scripts/setup-bootif-network.stage4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/modules.d/slx-network/scripts/setup-bootif-network.stage4 b/builder/modules.d/slx-network/scripts/setup-bootif-network.stage4 index 17afe798..61f925d0 100755 --- a/builder/modules.d/slx-network/scripts/setup-bootif-network.stage4 +++ b/builder/modules.d/slx-network/scripts/setup-bootif-network.stage4 @@ -9,7 +9,7 @@ export PATH=$PATH:/opt/openslx/sbin:/opt/openslx/bin . /opt/openslx/config -if [ -z "$SLX_PXE_NETIF" ] || [ -z "$SLX_PXE_CLIENT_IP" ]; then +if [ -z "$SLX_PXE_NETIF" ]; then echo "Missing network information of the main boot interface." exit 1 fi |