HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-83-generic #83-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 5 21:46:54 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //etc/dhcp/dhclient-enter-hooks.d/resolved-enter
#!/bin/sh
## Sourced, not exec'ed, but helps syntax highlighting
#
# Script fragment disabling make_resolv_conf(),
# to be used in conjunction with dhclient-exit-hooks.d/resolved
#

if systemctl is-enabled systemd-resolved > /dev/null 2>&1; then
    # Undefine the nasty default make_resolv_conf() to avoid it overriding
    # /etc/resolv.conf (or /run/systemd/resolve/stub-resolv.conf)
    make_resolv_conf() { : ; }
fi