nrelease - fix/improve livecd
[dragonfly.git] / etc / rc.d / dumpon
CommitLineData
9c600e7d
MD
1#!/bin/sh
2#
3# $FreeBSD: src/etc/rc.d/dumpon,v 1.1 2002/06/13 22:14:36 gordon Exp $
9c600e7d
MD
4#
5
6# PROVIDE: dumpon
ce083385
AL
7# REQUIRE: initrandom cryptdisks
8# BEFORE: disks
9c600e7d
MD
9
10. /etc/rc.subr
11
12name="dumpon"
13start_cmd="dumpon_start"
14stop_cmd=":"
15
16dumpon_start()
17{
18 # Enable dumpdev so that savecore can see it. Enable it
19 # early so a crash early in the boot process can be caught.
20 #
21 case ${dumpdev} in
22 [Nn][Oo] | '')
23 ;;
24 *)
25 /sbin/dumpon -v ${dumpdev}
26 ;;
27 esac
28}
29
30load_rc_config $name
31run_rc_command "$1"