1#!/bin/sh 2# 3# 4 5# PROVIDE: sysvipc 6# REQUIRE: kldxref 7# KEYWORD: nojail 8 9. /etc/rc.subr 10 11name="sysvipc" 12desc="Load SysV IPC modules" 13rcvar="sysvipc_enable" 14start_cmd="${name}_start" 15stop_cmd=":" 16 17sysvipc_start() 18{ 19 load_kld sysvmsg 20 load_kld sysvsem 21 load_kld sysvshm 22} 23 24load_rc_config $name 25 26# doesn't make sense to run in a svcj: privileged operations 27sysvipc_svcj="NO" 28 29run_rc_command "$1" 30