xref: /freebsd/libexec/rc/rc.d/sysvipc (revision d8ffc21c5ca6f7d4f2d9a65dc6308699af0b6a01)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: sysvipc
7# REQUIRE: archdep
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