#!/bin/sh # # $FreeBSD: head/lang/rexx-regina/files/rxstack.in 340872 2014-01-24 00:14:07Z mat $ # # PROVIDE: rxstack # REQUIRE: DAEMON # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # # rxstack_enable (bool): Set to NO by default. # Set it to YES to enable rxstack. # rxstack_flags (str): Set to "-d" by default. # . /etc/rc.subr name="rxstack" rcvar=rxstack_enable command=%%PREFIX%%/bin/${name} load_rc_config $name : ${rxstack_enable="NO"} : ${rxstack_flags="-d"} run_rc_command "$1"