[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 582053df481e11b7f1648a9983a71ed147f75cf9
Author: Jacob Appelbaum <jacob@xxxxxxxxxxxxx>
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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits