NetBSD/etc/rc.d/local

25 lines
296 B
Plaintext
Raw Normal View History

2000-03-10 14:53:23 +03:00
#!/bin/sh
#
# $NetBSD: local,v 1.4 2000/05/13 08:45:07 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
name="local"
start_cmd="do_local"
stop_cmd=":"
2000-03-10 14:53:23 +03:00
do_local()
{
if [ -f /etc/rc.local ]; then
. /etc/rc.local
2000-03-10 14:53:23 +03:00
fi
}
load_rc_config $name
2000-03-10 14:53:23 +03:00
run_rc_command "$1"