[or-cvs] [tor/master] Be quiet when creating /var/run/tor.

Nick Mathewson nickm at seul.org
Sun Jun 21 02:04:58 UTC 2009


Author: Peter Palfrader <peter at palfrader.org>
Date: Sun, 31 May 2009 10:38:24 +0000
Subject: Be quiet when creating /var/run/tor.
Commit: 77bc85f047ca6f3558193b224992f326e21d7369

No longer inform the user if/when we re-create the /var/run/tor directory in
the init script.  With /var/run on tmpfs this is completely normal now so our
message was just noise.
---
 debian/changelog |    8 ++++++++
 debian/tor.init  |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a1c8eb3..42c7c47 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tor (0.2.1.15-rc-X) XXperimental; urgency=low
+
+  * No longer inform the user if/when we re-create the /var/run/tor
+    directory in the init script.  With /var/run on tmpfs this is
+    completely normal now so our message was just noise.
+
+ -- Peter Palfrader <weasel at debian.org>  Sun, 31 May 2009 10:37:22 +0000
+
 tor (0.2.1.15-rc-1) experimental; urgency=low
 
   * New upstream version.
diff --git a/debian/tor.init b/debian/tor.init
index a798c0c..b018847 100644
--- a/debian/tor.init
+++ b/debian/tor.init
@@ -88,7 +88,7 @@ wait_for_deaddaemon () {
 
 check_torpiddir () {
 	if test ! -d $TORPIDDIR; then
-		echo "There is no $TORPIDDIR directory.  Creating one for you."
+		#echo "There is no $TORPIDDIR directory.  Creating one for you."
 		mkdir -m 02700 "$TORPIDDIR"
 		chown debian-tor:debian-tor "$TORPIDDIR"
 	fi
-- 
1.5.6.5




More information about the tor-commits mailing list