-z "${new_domain_search}" ]; then
return 0
fi
- local x= conf="${signature}\n"
+ local x= conf="# ${signature}\n"
if [ -n "${new_domain_search}" ]; then
conf="${conf}search ${new_domain_search}\n"
elif [ -n "${new_domain_name}" ]; then
{
[ -z "${new_ntp_servers}" ] && return 0
local cf=/etc/ntp.conf."${interface}" x=
- echo "${signature}" > "${cf}"
+ echo "# ${signature}" > "${cf}"
echo "restrict default noquery notrust nomodify" >> "${cf}"
echo "restrict 127.0.0.1" >> "${cf}"
for x in ${new_ntp_servers}; do
{
[ -z "${new_nis_domain}" -a -z "${new_nis_servers}" ] && return 0
local cf=/etc/yp.conf."${interface}" prefix= x= pid=
- echo "${signature}" > "${cf}"
+ echo "# ${signature}" > "${cf}"
if [ -n "${new_nis_domain}" ]; then
domainname "${new_nis_domain}"
if [ -n "${new_nis_servers}" ]; then
# dhcpcd client configuration script
# Handy functions for our hooks to use
-signature="# Generated by dhcpcd for ${interface}"
+signature="Generated by dhcpcd for ${interface}"
save_conf()
{
if [ -f "$1" ]; then