10696600cSBjoern A. Zeeb#!/bin/sh 20696600cSBjoern A. Zeeb# 30696600cSBjoern A. Zeeb# 40696600cSBjoern A. Zeeb 50696600cSBjoern A. Zeeb# PROVIDE: msgs 60696600cSBjoern A. Zeeb# REQUIRE: LOGIN 70696600cSBjoern A. Zeeb 80696600cSBjoern A. Zeeb. /etc/rc.subr 90696600cSBjoern A. Zeeb 100696600cSBjoern A. Zeebname="msgs" 110696600cSBjoern A. Zeebdesc="Make a bounds file for msgs(1)" 120696600cSBjoern A. Zeebstart_cmd="msgs_start" 130696600cSBjoern A. Zeebstop_cmd=":" 140696600cSBjoern A. Zeeb 150696600cSBjoern A. Zeebmsgs_start() 160696600cSBjoern A. Zeeb{ 170696600cSBjoern A. Zeeb # Make a bounds file for msgs(1) if there isn't one already 180696600cSBjoern A. Zeeb # 190696600cSBjoern A. Zeeb if [ -d /var/msgs -a ! -f /var/msgs/bounds -a ! -L /var/msgs/bounds ]; then 200696600cSBjoern A. Zeeb echo 0 > /var/msgs/bounds 210696600cSBjoern A. Zeeb fi 220696600cSBjoern A. Zeeb} 230696600cSBjoern A. Zeeb 240696600cSBjoern A. Zeebload_rc_config $name 25*f99f0ee1SAlexander Leidinger 26*f99f0ee1SAlexander Leidinger# doesn't make sense to run in a svcj: config setting 27*f99f0ee1SAlexander Leidingermsgs_svcj="NO" 28*f99f0ee1SAlexander Leidinger 290696600cSBjoern A. Zeebrun_rc_command "$1" 30