summaryrefslogtreecommitdiff
path: root/package/dhcp/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/dhcp/files')
-rw-r--r--package/dhcp/files/dhcpd.conf11
-rw-r--r--package/dhcp/files/dhcpd.init2
2 files changed, 12 insertions, 1 deletions
diff --git a/package/dhcp/files/dhcpd.conf b/package/dhcp/files/dhcpd.conf
new file mode 100644
index 000000000..1caf07048
--- /dev/null
+++ b/package/dhcp/files/dhcpd.conf
@@ -0,0 +1,11 @@
+# basic example configuration
+ddns-update-style none;
+option domain-name "example.org";
+option domain-name-servers ns1.example.org, ns2.example.org;
+default-lease-time 600;
+max-lease-time 7200;
+authoritative;
+
+subnet 192.168.0.0 netmask 255.255.255.0 {
+ range 192.168.0.10 192.168.0.20;
+}
diff --git a/package/dhcp/files/dhcpd.init b/package/dhcp/files/dhcpd.init
index 6ba76df9f..acdfc501f 100644
--- a/package/dhcp/files/dhcpd.init
+++ b/package/dhcp/files/dhcpd.init
@@ -14,7 +14,7 @@ start)
dhcpd $dhcpd_flags
;;
autostop|stop)
- killall dhcpd
+ pkill dhcpd
;;
restart)
sh $0 stop