Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/init/rc.d/ccd
Property | Old Value | New Value |
---|---|---|
svn:executable | null | * \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
#!/bin/sh | |||||
# | |||||
# $FreeBSD$ | |||||
# | |||||
# PROVIDE: disks | |||||
# KEYWORD: nojail | |||||
. /etc/rc.subr | |||||
name="ccd" | |||||
desc="Concatenated disks setup" | |||||
start_cmd="ccd_start" | |||||
stop_cmd=":" | |||||
ccd_start() | |||||
{ | |||||
if [ -f /etc/ccd.conf ]; then | |||||
echo "Configuring CCD devices." | |||||
ccdconfig -C | |||||
fi | |||||
} | |||||
load_rc_config $name | |||||
run_rc_command "$1" |