#!/bin/sh # $FreeBSD: head/net/minisapserver/files/sapserver.in 340872 2014-01-24 00:14:07Z mat $ # # PROVIDE: sapserver # REQUIRE: NETWORKING # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable sapserver: # # sapserver_enable="YES" # . /etc/rc.subr name=sapserver rcvar=sapserver_enable command=%%PREFIX%%/bin/${name} required_files=%%PREFIX%%/etc/sap.cfg load_rc_config ${name} : ${sapserver_enable="NO"} run_rc_command "$1"