diff options
author | Simon Rettberg | 2022-06-09 15:53:59 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-06-09 15:53:59 +0200 |
commit | 1a3246b00e8df117b44fca5756f72966491ce6e8 (patch) | |
tree | f2a17405f32a4cf685e4ed12b2fc60d3016e7b51 | |
parent | [slx-dmsetup] Properly disable future ntfsfree stuff if already active (diff) | |
download | systemd-init-1a3246b00e8df117b44fca5756f72966491ce6e8.tar.gz systemd-init-1a3246b00e8df117b44fca5756f72966491ce6e8.tar.xz systemd-init-1a3246b00e8df117b44fca5756f72966491ce6e8.zip |
[slx-network] Only redirect stderr to log files
-rwxr-xr-x | modules.d/slx-network/scripts/setup-bootif-network.stage3 | 2 | ||||
-rwxr-xr-x | modules.d/slx-network/scripts/udhcpc-trigger.stage3 | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules.d/slx-network/scripts/setup-bootif-network.stage3 b/modules.d/slx-network/scripts/setup-bootif-network.stage3 index 568c006c..d901200d 100755 --- a/modules.d/slx-network/scripts/setup-bootif-network.stage3 +++ b/modules.d/slx-network/scripts/setup-bootif-network.stage3 @@ -167,7 +167,7 @@ for i in 1 1 1 fail; do done set +x -} &>> "/run/openslx/initramfs-network.log.$$" +} 2> "/run/openslx/initramfs-network.log.$$" diff --git a/modules.d/slx-network/scripts/udhcpc-trigger.stage3 b/modules.d/slx-network/scripts/udhcpc-trigger.stage3 index 82a21f6f..bab33564 100755 --- a/modules.d/slx-network/scripts/udhcpc-trigger.stage3 +++ b/modules.d/slx-network/scripts/udhcpc-trigger.stage3 @@ -146,7 +146,7 @@ else else # regular fallback to DNS and noname-* if needed if [ -n "$fqdn_hostname" ]; then - echo "Using DNS record hostname: $fqdn_hostname." + echo "Using DNS record hostname: '$fqdn_hostname'." hostname="$fqdn_hostname" else # no fallback hostname from DNS, use IP address @@ -170,4 +170,4 @@ fi touch /.network set +x -} &>> "/run/openslx/initramfs-udhcpc.log.$$" +} 2> "/run/openslx/initramfs-udhcpc.log.$$" |