ports/86144: New port: sysutils/freebsd-snapshot: ports version of RSE snapshot utilities
Graham Todd
gtodd at bellanet.org
Thu Sep 15 22:10:19 UTC 2005
The following reply was made to PR ports/86144; it has been noted by GNATS.
From: Graham Todd <gtodd at bellanet.org>
To: bug-followup at FreeBSD.org, gtodd at bellanet.org
Cc:
Subject: Re: ports/86144: New port: sysutils/freebsd-snapshot: ports version
of RSE snapshot utilities
Date: Thu, 15 Sep 2005 18:03:44 -0400
Small fix so the periodic scripts can run: /usr/local/sbin is not in $PATH so
these small patches to the main scripts allow the $LOCALBASE installation to
function by adding /usr/local/sbin to the
Please review: perhaps a more general solution for $PATH is needed in case
LOCALBASE or PREFIX point at other locations.
/usr/ports/sysutils/freebsd-snapshot-management]# cat files/patch-snapshot
--- snapshot.orig Thu Sep 15 17:44:46 2005
+++ snapshot Thu Sep 15 17:47:59 2005
@@ -29,7 +29,7 @@
##
# make sure system tools are used first
-PATH="/bin:/usr/bin:/sbin:/usr/sbin:$PATH"
+PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin:$PATH"
# option defaults
fs_subdir=".snap"
cat files/patch-periodic-snapshot
--- periodic-snapshot.orig Thu Sep 15 17:44:57 2005
+++ periodic-snapshot Thu Sep 15 17:46:31 2005
@@ -29,7 +29,7 @@
##
# make sure system tools are used first
-PATH="/bin:/usr/bin:/sbin:/usr/sbin:$PATH"
+PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin:$PATH"
# configuration defaults
snapshot_enable="NO"
--
Graham Todd -- Bellanet Secretariat
tel/tél:613-236-6163 #2443
http://www.bellanet.org/
More information about the freebsd-ports-bugs
mailing list