HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
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