[tor-commits] [torouter/master] print info before takeover

ioerror at torproject.org ioerror at torproject.org
Mon Aug 29 15:22:31 UTC 2011


commit 582053df481e11b7f1648a9983a71ed147f75cf9
Author: Jacob Appelbaum <jacob at appelbaum.net>
Date:   Mon Aug 29 17:22:14 2011 +0200

    print info before takeover
---
 packages/torouter_easy_setup.sh |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/packages/torouter_easy_setup.sh b/packages/torouter_easy_setup.sh
index f5bf6c5..d9a85ea 100755
--- a/packages/torouter_easy_setup.sh
+++ b/packages/torouter_easy_setup.sh
@@ -33,5 +33,28 @@ apt-key add /tmp/torouter-repo.key
 apt-get update --fix-missing
 apt-get install -t torrouter -y torouter-prep
 
+echo "This is the current state of the system:"
+
+echo "Kernel message log: "
+
+dmesg
+
+echo "Kernel modules: "
+
+lsmod
+
+echo "File systems: "
+mount
+echo
+df -h
+
+echo "Interfaces: "
+
+ifconfig -a
+
+echo "Route info: "
+
+route -n
+
 echo "We're going to trash your system now; you have 30 seconds to bail out!"
 sleep 30 && /usr/bin/torouter_config.sh



More information about the tor-commits mailing list