NetBSD/etc/rc.d/local

25 lines
321 B
Plaintext
Raw Normal View History

2000-03-10 14:53:23 +03:00
#!/bin/sh
#
# $NetBSD: local,v 1.1.1.1 2000/03/10 11:53:25 lukem Exp $
#
# REQUIRE: daemon
# PROVIDE: local
# BEFORE: login
. /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"