NetBSD/etc/rc.d/isdnd
mycroft 7d2e1537c5 Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this
for a speedup by doing:
$_rc_subr_loaded . /etc/rc.subr
2004-08-13 18:08:03 +00:00

25 lines
472 B
Bash

#!/bin/sh
#
# $NetBSD: isdnd,v 1.10 2004/08/13 18:08:03 mycroft Exp $
#
# PROVIDE: isdnd
# REQUIRE: NETWORKING syslogd mountcritremote
# BEFORE: SERVERS
#
# Note that this means that syslogd will not be listening on
# any isdn addresses. This is considered a feature.
#
$_rc_subr_loaded . /etc/rc.subr
name="isdnd"
rcvar=$name
required_files="/etc/isdn/${name}.rc"
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
load_rc_config $name
run_rc_command "$1"