summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/20-rm_ddclient_hook.chroot
diff options
context:
space:
mode:
Diffstat (limited to 'data/live-build-config/hooks/live/20-rm_ddclient_hook.chroot')
-rwxr-xr-xdata/live-build-config/hooks/live/20-rm_ddclient_hook.chroot15
1 files changed, 9 insertions, 6 deletions
diff --git a/data/live-build-config/hooks/live/20-rm_ddclient_hook.chroot b/data/live-build-config/hooks/live/20-rm_ddclient_hook.chroot
index 350843c7..f4ea265e 100755
--- a/data/live-build-config/hooks/live/20-rm_ddclient_hook.chroot
+++ b/data/live-build-config/hooks/live/20-rm_ddclient_hook.chroot
@@ -1,9 +1,12 @@
#!/bin/sh
-if [ -f /etc/dhcp/dhclient-exit-hooks.d/ddclient ]; then
- rm -f /etc/dhcp/dhclient-exit-hooks.d/ddclient
-fi
+# Made obsolete by T5511, use rootfs/excludes instead.
+#
+#if [ -f /etc/dhcp/dhclient-exit-hooks.d/ddclient ]; then
+# rm -f /etc/dhcp/dhclient-exit-hooks.d/ddclient
+#fi
+#
+#if [ -f /etc/ddclient.conf ]; then
+# rm -f /etc/ddclient.conf
+#fi
-if [ -f /etc/ddclient.conf ]; then
- rm -f /etc/ddclient.conf
-fi