mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
24 lines
427 B
Bash
24 lines
427 B
Bash
#!/bin/sh
|
|
|
|
# PROVIDE: miredo-server
|
|
# REQUIRE: NETWORKING
|
|
# KEYWORD: shutdown
|
|
|
|
#
|
|
# Add the following lines to /etc/rc.conf to enable miredo-server:
|
|
#
|
|
#miredo_server_enable="YES"
|
|
#
|
|
miredo_server_enable="${miredo_server_enable:-NO}"
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=miredo-server
|
|
rcvar=miredo_server_enable
|
|
|
|
command=%%PREFIX%%/sbin/${name}
|
|
required_files=%%PREFIX%%/etc/miredo/miredo-server.conf
|
|
|
|
load_rc_config ${name}
|
|
run_rc_command "$1"
|