summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-network/hooks/s3-copy-network-files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/slx-network/hooks/s3-copy-network-files.sh')
-rwxr-xr-xmodules.d/slx-network/hooks/s3-copy-network-files.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules.d/slx-network/hooks/s3-copy-network-files.sh b/modules.d/slx-network/hooks/s3-copy-network-files.sh
index 46f4ab38..0b8577c0 100755
--- a/modules.d/slx-network/hooks/s3-copy-network-files.sh
+++ b/modules.d/slx-network/hooks/s3-copy-network-files.sh
@@ -19,12 +19,4 @@ mkdir -p "${NEWROOT}/opt/openslx"
mv "${NEWROOT}/etc/resolv.conf" "${NEWROOT}/opt/openslx/resolv.conf"
ln -nfs "/opt/openslx/resolv.conf" "${NEWROOT}/etc/resolv.conf"
-# HACK: finally make sure we have rdns helper
-# This should be done more elegantly one day...
-rdns="$( command -p rdns )"
-if [ -n "$rdns" ]; then
- mkdir -p "${NEWROOT}/opt/openslx/bin"
- cp -f "$rdns" "${NEWROOT}/opt/openslx/bin"
-fi
-
exit 0