rpe 9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00

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