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