etc/services - sync with NetBSD-8
[minix.git] / etc / rc.d / local
blob4ba60017630657eb5d1dd748f0ab8dafebc056d8
1 #!/bin/sh
3 # $NetBSD: local,v 1.7 2004/08/13 18:08:03 mycroft Exp $
6 # REQUIRE: DAEMON
7 # PROVIDE: local
8 # BEFORE: LOGIN
9 # KEYWORD: shutdown
11 $_rc_subr_loaded . /etc/rc.subr
13 name="local"
14 start_cmd="local_start"
15 stop_cmd="local_stop"
17 local_start()
19 if [ -f /etc/rc.local ]; then
20 . /etc/rc.local
24 local_stop()
26 if [ -f /etc/rc.shutdown.local ]; then
27 . /etc/rc.shutdown.local
31 load_rc_config $name
32 run_rc_command "$1"