1#!/bin/sh 2# 3# 4 5# PROVIDE: msgs 6# REQUIRE: LOGIN 7 8. /etc/rc.subr 9 10name="msgs" 11desc="Make a bounds file for msgs(1)" 12start_cmd="msgs_start" 13stop_cmd=":" 14 15msgs_start() 16{ 17 # Make a bounds file for msgs(1) if there isn't one already 18 # 19 if [ -d /var/msgs -a ! -f /var/msgs/bounds -a ! -L /var/msgs/bounds ]; then 20 echo 0 > /var/msgs/bounds 21 fi 22} 23 24load_rc_config $name 25 26# doesn't make sense to run in a svcj: config setting 27msgs_svcj="NO" 28 29run_rc_command "$1" 30