From 582053df481e11b7f1648a9983a71ed147f75cf9 Mon Sep 17 00:00:00 2001 From: Jacob Appelbaum Date: Mon, 29 Aug 2011 17:22:14 +0200 Subject: print info before takeover --- packages/torouter_easy_setup.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'packages') 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 -- cgit v1.2.3