blob: 13c431290de27e97fb2961f78a20b4514c30c494 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
#
# $NetBSD: arlad,v 1.2 2002/08/07 08:30:51 jlam Exp $
#
# PROVIDE: arlad
# REQUIRE: beforemountlkm
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
name="arlad"
rcvar=$name
command="@PREFIX@/libexec/${name}"
command_args="-z /dev/xfs0"
required_files="/dev/xfs0"
if [ -f /etc/rc.subr -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then
load_rc_config $name
run_rc_command "$1"
else
echo -n ' ${name}'
${command} ${arlad_flags} ${command_args}
fi
|