summaryrefslogtreecommitdiff
path: root/package/dhcp/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
commit5042ac8e5927d0089d3902b1c37e5bcc1565d053 (patch)
treecd2be3085808c5ac59dd70f9c610c6a40bfe3ffd /package/dhcp/files
parent401dabf66529cfb5ab47b4c78d5e25fd493eef1f (diff)
parent4d569ed1a3305c7b7abe8fa4273cea3b559cc85a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: BUGS package/autoconf/Makefile
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