xref: /freebsd/libexec/rc/rc.d/sysvipc (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: sysvipc
7# REQUIRE: kldxref
8# KEYWORD: nojail
9
10. /etc/rc.subr
11
12name="sysvipc"
13desc="Load SysV IPC modules"
14rcvar="sysvipc_enable"
15start_cmd="${name}_start"
16stop_cmd=":"
17
18sysvipc_start()
19{
20	load_kld sysvmsg
21	load_kld sysvsem
22	load_kld sysvshm
23}
24
25load_rc_config $name
26run_rc_command "$1"
27