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

This commit is contained in:
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
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
echo_FAILED
error $(cat $logfile)