aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackages/torouter_easy_setup.sh23
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