modified: contrib/init/g15stats.confd modified: contrib/init/g15stats.in modified: contrib/init/g15stats.initd modified: contrib/init/g15stats.run modified: contrib/init/g15stats.service modified: contrib/init/rc.g15stats deleted: dists/arch/g15stats-openrc/.SRCINFO deleted: dists/arch/g15stats-openrc/PKGBUILD deleted: dists/arch/g15stats-runit/.SRCINFO deleted: dists/arch/g15stats-runit/PKGBUILD deleted: dists/arch/g15stats-systemd/.SRCINFO deleted: dists/arch/g15stats-systemd/PKGBUILD deleted: dists/arch/g15stats/.SRCINFO deleted: dists/arch/g15stats/PKGBUILD deleted: dists/freebsd/Makefile deleted: dists/freebsd/distinfo deleted: dists/freebsd/files/g15stats.in deleted: dists/freebsd/pkg-descr deleted: dists/freebsd/pkg-plist deleted: dists/gentoo/Manifest deleted: dists/gentoo/g15stats-3.0.2.ebuild deleted: dists/gentoo/g15stats-9999.ebuild deleted: dists/gentoo/metadata.xml deleted: dists/void/files/run deleted: dists/void/template
27 lines
446 B
Bash
Executable File
27 lines
446 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: g15stats
|
|
# REQUIRE: LOGIN g15daemon
|
|
# KEYWORD: shutdown
|
|
#
|
|
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
|
|
# to enable this service:
|
|
#
|
|
# g15stats_enable (bool): Set to NO by default.
|
|
# Set it to YES to enable doormand.
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=g15stats
|
|
rcvar="${name}_enable"
|
|
load_rc_config $name
|
|
|
|
: ${g15stats_enable:="NO"}
|
|
|
|
command=%%PREFIX%%/bin/${name}
|
|
command_args='-d -i re0'
|
|
|
|
run_rc_command "$1"
|