daemon scripts and bump subpackages that contain the *.rc scripts. discussed with and OK aja@ OK tb
15 lines
278 B
Bash
15 lines
278 B
Bash
#!/bin/ksh
|
|
#
|
|
# $OpenBSD: darkstat.rc,v 1.4 2018/01/11 19:27:05 rpe Exp $
|
|
|
|
egress_if=$( ifconfig egress 2>/dev/null | head -1 | cut -d : -f 1 )
|
|
|
|
daemon="${TRUEPREFIX}/sbin/darkstat"
|
|
daemon_flags="-i $egress_if -b localhost --syslog"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
rc_reload=NO
|
|
|
|
rc_cmd $1
|