diff options
author | Jonathan Bauer | 2019-08-08 14:55:56 +0200 |
---|---|---|
committer | Jonathan Bauer | 2019-08-08 14:55:56 +0200 |
commit | ce1558966a8481d04f1ff78c1b58a91740513e69 (patch) | |
tree | 58c2042c79d57eea8ecefb413c1da805203a033f /builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3 | |
parent | [slx-network] support for dhcp in stage4 (diff) | |
download | systemd-init-ce1558966a8481d04f1ff78c1b58a91740513e69.tar.gz systemd-init-ce1558966a8481d04f1ff78c1b58a91740513e69.tar.xz systemd-init-ce1558966a8481d04f1ff78c1b58a91740513e69.zip |
[slx-network] only care about main bootif
+ rdns
Diffstat (limited to 'builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3')
-rwxr-xr-x | builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3 b/builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3 index 8bed11c7..2621b76f 100755 --- a/builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3 +++ b/builder/modules.d/slx-network/scripts/udhcpc-trigger.stage3 @@ -1,8 +1,11 @@ -#!/bin/ash +#!/bin/bash +# +# This script is triggered by udhcpc in stage3 and handle the +# DHCP information given as parameters -exec &> "/run/openslx/udhcpc-trigger.log.$$" +{ +# for debugging set -x - NETWORK_CONF="/run/openslx/network.conf" . "$NETWORK_CONF" @@ -112,3 +115,5 @@ if [ -n "$hostname" ]; then fi touch /.network +set +x +} &>> "/run/openslx/network.log.$$" |