mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
It was unused since 405c3050f1, which removed iBCS support.
This also moves the 'linux' rc script slightly earlier, which
might help in some setups. The original version of this patch
moved it even more, before 'mountcritlocal', which would fixe
mount(8) errors due to missing /dev/shm in setups with entries
for /path/to/chroot/dev/shm without the "late" flag; however,
in the end 'kldxref' turned out to depend on 'mountcritlocal'
anyway.
Reported By: pstef
Reviewed By: dchagin
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D29590
26 lines
323 B
Bash
Executable file
26 lines
323 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: sysvipc
|
|
# REQUIRE: kldxref
|
|
# 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"
|