|
|
@ -263,6 +263,11 @@ general_config() { |
|
|
|
echo "max-lease-time $max_lease_time;" |
|
|
|
|
|
|
|
[ -n "$domain" ] && echo "option domain-name \"$domain\";" |
|
|
|
|
|
|
|
rm -f /tmp/resolv.conf |
|
|
|
echo "# This file is generated by the DHCPD service" > /tmp/resolv.conf |
|
|
|
[ -n "$domain" ] && echo "domain $domain" >> /tmp/resolv.conf |
|
|
|
echo "nameserver 127.0.0.1" >> /tmp/resolv.conf |
|
|
|
} |
|
|
|
|
|
|
|
start_service() { |
|
|
|