summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>1998-07-28 01:15:12 +0000
committernectar <nectar@FreeBSD.org>1998-07-28 01:15:12 +0000
commit0e82fbcb6c53b7843f6d2602fcaf6678aa66f862 (patch)
tree7a7bd72e62ece9f19ae79b147b679fee5e32fa46 /etc
parentd48cc1feee74cb54981aa3a39ff1cdf0603395b6 (diff)
downloadFreeBSD-src-0e82fbcb6c53b7843f6d2602fcaf6678aa66f862.zip
FreeBSD-src-0e82fbcb6c53b7843f6d2602fcaf6678aa66f862.tar.gz
make a bounds file for msgs(1) if there isn't one already
PR: bin/3023 Reviewed by: jkh@FreeBSD.ORG
Diffstat (limited to 'etc')
-rw-r--r--etc/rc7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 7a1e003..9268d60 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.145 1998/06/02 11:02:16 phk Exp $
+# $Id: rc,v 1.146 1998/06/22 06:34:12 jkoshy Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -302,6 +302,11 @@ if [ "$vibackup" != '/var/tmp/vi.recover/vi.*' ]; then
fi
fi
+# make a bounds file for msgs(1) if there isn't one already
+if [ ! -f /var/msgs/bounds ]; then
+ echo 0 > /var/msgs/bounds
+fi
+
# for each valid dir in $local_startup, search for init scripts matching *.sh
if [ "X${local_startup}" != X"NO" ]; then
echo -n 'Local package initialization:'
OpenPOWER on IntegriCloud