Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2005 22:10:13 GMT
From:      Graham Todd <gtodd@bellanet.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/86144: New port: sysutils/freebsd-snapshot: ports version of RSE snapshot utilities
Message-ID:  <200509152210.j8FMADA5090292@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/86144; it has been noted by GNATS.

From: Graham Todd <gtodd@bellanet.org>
To: bug-followup@FreeBSD.org,  gtodd@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509152210.j8FMADA5090292>