NetBSD/etc/rc.d/local

25 lines
317 B
Plaintext
Raw Normal View History

2000-03-10 14:53:23 +03:00
#!/bin/sh
#
# $NetBSD: local,v 1.2 2000/03/13 04:03:58 lukem Exp $
2000-03-10 14:53:23 +03:00
#
# REQUIRE: DAEMON
2000-03-10 14:53:23 +03:00
# PROVIDE: local
# BEFORE: LOGIN
2000-03-10 14:53:23 +03:00
. /etc/rc.subr
. /etc/rc.conf
name="local"
start_cmd="do_local start"
stop_cmd="do_local stop"
do_local()
{
if [ -f /etc/rc.local ]; then
set $1 ; . /etc/rc.local
fi
}
run_rc_command "$1"