vis.3: Use .Er for errno values.
[dragonfly.git] / etc / rc.d / local
blob812b3e14f83bd6c8e1ca3582ce1e33a93d73190e
1 #!/bin/sh
3 # $NetBSD: local,v 1.6 2002/03/22 04:33:59 thorpej Exp $
4 # $FreeBSD: src/etc/rc.d/local,v 1.4 2002/10/17 23:46:32 sobomax Exp $
5 # $DragonFly: src/etc/rc.d/local,v 1.3 2005/11/19 21:47:32 swildner Exp $
8 # PROVIDE: local
9 # REQUIRE: DAEMON
10 # BEFORE: LOGIN
11 # KEYWORD: shutdown
13 . /etc/rc.subr
15 name="local"
16 start_cmd="local_start"
17 stop_cmd="local_stop"
19 local_start()
21 echo -n 'Starting local daemons:'
22 if [ -f /etc/rc.local ]; then
23 . /etc/rc.local
25 echo '.'
28 local_stop()
30 echo -n 'Shutting down local daemons:'
31 if [ -f /etc/rc.shutdown.local ]; then
32 . /etc/rc.shutdown.local
34 echo '.'
37 load_rc_config $name
38 run_rc_command "$1"