Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
+25
View File
@@ -0,0 +1,25 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: facette.sh,v 1.1 2016/03/09 12:09:29 imil Exp $
#
# PROVIDE: facette
# REQUIRE: DAEMON network
# KEYWORD: shutdown
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
name="facette"
rcvar=$name
command="@PREFIX@/bin/facette"
command_args="-l @FACETTE_LOGDIR@/${name}.log &"
facette_user="@FACETTE_USER@"
if [ -f /etc/rc.subr ]; then
load_rc_config $name
run_rc_command "$1"
else
echo -n "${name}"
@SU@ -m ${facette_user} -c "${command} ${command_args}"
fi