projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
lldp: remove calls to user/group_add/exists
[oweals/openwrt.git]
/
package
/
network
/
services
/
odhcpd
/
files
/
odhcpd.defaults
1
#!/bin/sh
2
uci -q get dhcp.odhcpd && exit 0
3
touch /etc/config/dhcp
4
5
uci batch <<EOF
6
set dhcp.odhcpd=odhcpd
7
set dhcp.odhcpd.maindhcp=0
8
set dhcp.odhcpd.leasefile=/tmp/hosts/odhcpd
9
set dhcp.odhcpd.leasetrigger=/usr/sbin/odhcpd-update
10
set dhcp.lan.dhcpv6=server
11
set dhcp.lan.ra=server
12
commit dhcp
13
EOF