rc.d: Add mounttmpfs to support tmpfs at /var/run and /tmp
[dragonfly.git] / etc / rc.d / msgs
1 #!/bin/sh
2 #
3 # $FreeBSD: src/etc/rc.d/msgs,v 1.1 2002/06/13 22:14:36 gordon Exp $
4 # $DragonFly: src/etc/rc.d/msgs,v 1.4 2005/11/19 21:47:32 swildner Exp $
5 #
6
7 # PROVIDE: msgs
8 # REQUIRE: LOGIN
9
10 . /etc/rc.subr
11 dummy_rc_command "$1"
12
13 # Make a bounds file for msgs(1) if there isn't one already
14 #
15 if [ -d /var/msgs -a ! -f /var/msgs/bounds -a ! -L /var/msgs/bounds ]; then
16         echo 0 > /var/msgs/bounds
17 fi