1#!/bin/sh 2# 3# $FreeBSD: stable/10/etc/rc.d/msgs 306924 2016-10-09 21:28:56Z jilles $ 4# 5 6# PROVIDE: msgs 7# REQUIRE: LOGIN 8 9. /etc/rc.subr 10 11name="msgs" 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 25run_rc_command "$1" 26