|
Server : LiteSpeed System : Linux srv45672493.ultasrv.net 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64 User : dewab7604 ( 1100) PHP Version : 8.1.33 Disable Function : NONE Directory : /etc/dhcp/dhclient-enter-hooks.d/ |
Upload File : |
#!/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