xref: /freebsd/libexec/rc/rc.d/sysvipc (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
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