#!/bin/sh # # $FreeBSD$ # # PROVIDE: ices0 # REQUIRE: DAEMON # BEFORE: login # KEYWORD: shutdown # Add the following lines to /etc/rc.conf to enable ices0: # # ices0_enable="YES" # ices0_flags="" . /etc/rc.subr name="ices0" rcvar=`set_rcvar` command="%%PREFIX%%/bin/$name" command_args="1>/dev/null 2>&1" required_files="%%PREFIX%%/etc/ices.conf" # read configuration and set defaults load_rc_config "$name" : ${ices0_enable="NO"} run_rc_command "$1"