Skip to content

Instantly share code, notes, and snippets.

@jonhiggs
Last active April 24, 2024 22:16
Show Gist options
  • Save jonhiggs/b3949cb5f7fd51997023c4c006eca2d5 to your computer and use it in GitHub Desktop.
Save jonhiggs/b3949cb5f7fd51997023c4c006eca2d5 to your computer and use it in GitHub Desktop.
flamingzombies-openbsd-rc
#!/bin/ksh
#
# $OpenBSD: flamingzombies, 0.0.1 2020/05/13 18:49:00 rpe Exp $
daemon="/usr/local/bin/fz"
rc_bg="YES"
. /etc/rc.d/rc.subr
rc_start() {
rc_exec "${daemon} ${daemon_flags}"
}
rc_configtest() {
rc_exec "${daemon} ${daemon_flags} -n"
}
rc_cmd $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment