suika/rc.d/netbsd.rc.d
yakumo.izuru be0acf9206 Allow the configuration directory to be elsewhere, add
system startup scripts

Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/suika/trunk@820 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2023-06-10 02:48:43 +00:00

19 lines
367 B
Bash
Executable File

#!/bin/sh
# $TheSupernovaDuo: suika,v 0.4.2 2023/6/9 23:30:18 yakumo_izuru Exp $
# PROVIDE: suika
# REQUIRE: login
# KEYWORD: shutdown
$_rc_subr_loaded . /etc/rc.subr
name="suika"
rcvar="$name"
command="/usr/local/bin/${name}"
suika_config_file="/usr/local/etc/suika/config"
command_args="-config ${suika_config_file}"
load_rc_config "$name"
run_rc_command "$1"