inet6: require RTF_ANNOUNCE to proxy NS
[dragonfly.git] / etc / rc.d / dumpon
blob38b51927fe6765cc651661bf2514b4803c10c059
1 #!/bin/sh
3 # $FreeBSD: src/etc/rc.d/dumpon,v 1.1 2002/06/13 22:14:36 gordon Exp $
6 # PROVIDE: dumpon
7 # REQUIRE: initrandom cryptdisks
8 # BEFORE: disks
10 . /etc/rc.subr
12 name="dumpon"
13 start_cmd="dumpon_start"
14 stop_cmd=":"
16 dumpon_start()
18 # Enable dumpdev so that savecore can see it. Enable it
19 # early so a crash early in the boot process can be caught.
21 case ${dumpdev} in
22 [Nn][Oo] | '')
25 /sbin/dumpon -v ${dumpdev}
27 esac
30 load_rc_config $name
31 run_rc_command "$1"