ndhc: generalized ndhc service
This commit is contained in:
parent
e3352b7246
commit
d42edf208d
4 changed files with 5 additions and 4 deletions
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
exec ndhc -i eth0 -R /etc/resolv.conf -u ndhc -U ndhc -D ndhc -C /var/lib/ndhc/jail -s /var/lib/ndhc/state 2>&1
|
|
3
srcpkgs/ndhc/files/ndhc/run
Executable file
3
srcpkgs/ndhc/files/ndhc/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -r conf ] && . ./conf
|
||||||
|
exec ndhc -R /etc/resolv.conf -u ndhc -U ndhc -D ndhc -C /var/lib/ndhc/jail -s /var/lib/ndhc/state ${OPTS:=-i eth0} 2>&1
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ndhc'
|
# Template file for 'ndhc'
|
||||||
pkgname=ndhc
|
pkgname=ndhc
|
||||||
version=20150527
|
version=20150527
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
make_dirs="/var/lib/ndhc/state 0755 root root
|
make_dirs="/var/lib/ndhc/state 0755 root root
|
||||||
/var/lib/ndhc/jail/dev 0755 root root"
|
/var/lib/ndhc/jail/dev 0755 root root"
|
||||||
|
@ -36,6 +36,6 @@ do_fetch() {
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin build/src/ndhc
|
vbin build/src/ndhc
|
||||||
vman src/ndhc.8
|
vman src/ndhc.8
|
||||||
vsv ndhc-eth0
|
vsv ndhc
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue