From howardjp@byzantine.student.umd.edu  Wed Jun 28 14:10:55 2000
Return-Path: <howardjp@byzantine.student.umd.edu>
Received: from byzantine.student.umd.edu (byzantine.student.umd.edu [129.2.228.41])
	by hub.freebsd.org (Postfix) with ESMTP id F104737B619
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 28 Jun 2000 14:10:48 -0700 (PDT)
	(envelope-from howardjp@byzantine.student.umd.edu)
Received: (from root@localhost)
	by byzantine.student.umd.edu (8.9.3/8.9.3) id RAA64907;
	Wed, 28 Jun 2000 17:10:43 -0400 (EDT)
	(envelope-from howardjp)
Message-Id: <200006282110.RAA64907@byzantine.student.umd.edu>
Date: Wed, 28 Jun 2000 17:10:43 -0400 (EDT)
From: howardjp@wam.umd.edu
Sender: howardjp@byzantine.student.umd.edu
Reply-To: howardjp@wam.umd.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] Silly bug in periodic script (clean-msgs)
X-Send-Pr-Version: 3.2

>Number:         19567
>Category:       conf
>Synopsis:       [PATCH] Silly bug in periodic script (clean-msgs)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 28 14:20:00 PDT 2000
>Closed-Date:    Fri Jun 30 02:40:01 PDT 2000
>Last-Modified:  Fri Jun 30 02:40:26 PDT 2000
>Originator:     James Howard
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
University of Maryland
>Environment:

FreeBSD m-net.wccnet.org 4.0-STABLE FreeBSD 4.0-STABLE #0: Thu Jun 15
19:05:23 EDT 2000     trex@m-net.wccnet.org:/usr/src/sys/compile/M-NET
i386

>Description:

The etc/periodic/daily/140 script checks the enable flag for the
etc/periodic/daily/130 variable.  

>How-To-Repeat:

N/A

>Fix:

--- 130.clean-msgs.orig	Wed Jun 28 17:06:17 2000
+++ 130.clean-msgs	Wed Jun 28 17:06:33 2000
@@ -13,7 +13,7 @@
     source_periodic_confs
 fi
 
-case "$daily_clean_preserve_enable" in
+case "$daily_clean_msgs_enable" in
     [Yy][Ee][Ss])
 	if [ -d /var/msgs ]
 	then

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Fri Jun 30 02:40:01 PDT 2000 
State-Changed-Why:  
Patch applied to -current - thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19567 
>Unformatted:
