c97588b451
'sysvipc' - it has nothing to do with ABIs, and I'd like to later rename 'abi' to 'linux', which better describes its purpose and also matches the rcvar name. Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21615
27 lines
323 B
Bash
Executable File
27 lines
323 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: sysvipc
|
|
# REQUIRE: archdep
|
|
# KEYWORD: nojail
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="sysvipc"
|
|
desc="Load SysV IPC modules"
|
|
rcvar="sysvipc_enable"
|
|
start_cmd="${name}_start"
|
|
stop_cmd=":"
|
|
|
|
sysvipc_start()
|
|
{
|
|
load_kld sysvmsg
|
|
load_kld sysvsem
|
|
load_kld sysvshm
|
|
}
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|