From owner-freebsd-current Mon Aug 16 19:38:22 1999 Delivered-To: freebsd-current@freebsd.org Received: from cc158233-a.catv1.md.home.com (cc158233-a.catv1.md.home.com [24.3.25.17]) by hub.freebsd.org (Postfix) with ESMTP id 3FE5114D15 for ; Mon, 16 Aug 1999 19:38:12 -0700 (PDT) (envelope-from sjr@home.net) Received: (from sjr@localhost) by cc158233-a.catv1.md.home.com (8.9.3/8.9.3) id WAA92253 for freebsd-current@FreeBSD.ORG; Mon, 16 Aug 1999 22:37:40 -0400 (EDT) (envelope-from sjr) Message-Id: <199908170237.WAA92253@cc158233-a.catv1.md.home.com> Date: Mon, 16 Aug 1999 22:37:40 -0400 (EDT) From: "Stephen J. Roznowski" Subject: Existance of /var/backups for periodic/daily To: freebsd-current@FreeBSD.ORG MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The 200-220 periodic files under daily expect that the directory /var/backups exist when they run to back up various files. If you delete this directory, the "cp" commands will error. There seems to be two ways to fix the files. 1. Add a "if [ ! -d $bak ] ; then exit fi" to the top of the files, or 2. Add a "mkdir -p $bak" to the top. Do others consider this an error, and if so which is the preferred fix? Thanks, -- Stephen J. Roznowski (sjr@home.net) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message