Add '/etc/default/isc-dhcp-server'

This commit is contained in:
Christoph 2018-05-06 01:35:03 +02:00
parent b5fb1f7b3a
commit 820fdbff49
3 changed files with 8 additions and 1 deletions

View File

@ -340,6 +340,9 @@ for file in $files ; do
fi fi
fi fi
done done
if [[ -f "${base_dir}/${network}/default_isc-dhcp-server.${_network}" ]] ; then
cp -a "${base_dir}/${network}/default_isc-dhcp-server.${_network}" "/etc/default/isc-dhcp-server"
fi
if $failed ; then if $failed ; then
echo_FAILED echo_FAILED
error $(cat $logfile) error $(cat $logfile)

View File

@ -130,6 +130,9 @@ fi
if [ -f "${filesystem_prefix}/etc/dhcp/hosts.w-lan.conf" ]; then if [ -f "${filesystem_prefix}/etc/dhcp/hosts.w-lan.conf" ]; then
cp ${filesystem_prefix}/etc/dhcp/hosts.w-lan.conf ${homedir_user}/${_dir}/hosts.w-lan.conf.${_network} cp ${filesystem_prefix}/etc/dhcp/hosts.w-lan.conf ${homedir_user}/${_dir}/hosts.w-lan.conf.${_network}
fi fi
if [ -f "${filesystem_prefix}/etc/default/isc-dhcp-server" ] ; then
cp -f "${filesystem_prefix}/etc/default/isc-dhcp-server" ${homedir_user}/${_dir}/default_isc-dhcp-server.${_network}
fi
# - DSL PPP # - DSL PPP
# - # -

View File

@ -128,7 +128,8 @@ files="dhcpd.conf.${_network}
dhcpd6.conf.${_network} dhcpd6.conf.${_network}
isc-dhcp6-server.${_network} isc-dhcp6-server.${_network}
hosts.lan.conf.${_network} hosts.lan.conf.${_network}
hosts.w-lan.conf.${_network}" hosts.w-lan.conf.${_network}
default_isc-dhcp-server.${_network}"
manage_files "$files" manage_files "$files"
# - DSL PPP # - DSL PPP