HEX
Server: nginx/1.26.1
System: Linux main-vm 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: root (0)
PHP: 8.2.19
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