summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSimon Rettberg2024-03-13 11:22:20 +0100
committerSimon Rettberg2024-03-13 11:22:20 +0100
commitec3713587f4c20d722118ff89b8a4226fb0bf6ea (patch)
tree99116d358b2d0e94d8617c2657be7bb6dbfa3865 /core
parent[run-virt] Try removing trailing (back)slash from UNC names on failure (diff)
downloadmltk-ec3713587f4c20d722118ff89b8a4226fb0bf6ea.tar.gz
mltk-ec3713587f4c20d722118ff89b8a4226fb0bf6ea.tar.xz
mltk-ec3713587f4c20d722118ff89b8a4226fb0bf6ea.zip
[dhcpc-busybox] Var is empty, no need to remove
Diffstat (limited to 'core')
-rwxr-xr-xcore/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx
index 0e64643e..05a08b8f 100755
--- a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx
+++ b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx
@@ -189,16 +189,13 @@ case "$1" in
sed -i "s/^\(SLX_PXE_CLIENT_IP=\).*$/\1'$ip'/" /opt/openslx/config
# Write DOMAIN and SEARCH to /opt/openslx/config if empty
if [ -z "$SLX_NET_DOMAIN" ] && [ -n "$domain" ]; then
- sed -i "s/^SLX_NET_DOMAIN=/# &/" /opt/openslx/config
echo "SLX_NET_DOMAIN='$domain'" >> /opt/openslx/config
fi
if [ -z "$SLX_NET_SEARCH" ] && [ -n "$search" ]; then
- sed -i "s/^SLX_NET_SEARCH=/# &/" /opt/openslx/config
echo "SLX_NET_SEARCH='$search'" >> /opt/openslx/config
fi
# Same for WINS servers
if [ -z "$SLX_NET_WINS" ] && [ -n "$wins" ]; then
- sed -i "/^SLX_NET_WINS=/d" /opt/openslx/config
echo "SLX_NET_WINS='$wins'" >> /opt/openslx/config
fi