Date: Mon, 16 Aug 1999 22:37:40 -0400 (EDT) From: "Stephen J. Roznowski" <sjr@home.net> To: freebsd-current@FreeBSD.ORG Subject: Existance of /var/backups for periodic/daily Message-ID: <199908170237.WAA92253@cc158233-a.catv1.md.home.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908170237.WAA92253>