Loading configs/setup +26 −75 Original line number Diff line number Diff line Loading @@ -508,6 +508,13 @@ exporting() fi } stop_pause() { echo echo -n "Hit enter to continue: " read DUMMY echo } NETWORK=0 CONFIGURED=0 Loading Loading @@ -590,20 +597,14 @@ do echo "<Network is up and running!>" fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; gettime) echo echo -n "The time is now: " date echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; settime) Loading @@ -622,10 +623,7 @@ do echo echo -n "The time is now: " date echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; netstatus) Loading @@ -634,23 +632,15 @@ do if [ $NETWORK -ne 0 ] then ifconfig | more echo -n "Hit enter to continue: " read DUMMY echo stop_pause route -n | more echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause nslookup www.google.com | more else echo "*** FAILED network is not up yet! ***" fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; nettest) Loading Loading @@ -683,17 +673,11 @@ do && echo "OK Host $PING Reacheable" \ || echo "FAILED Host $PING Unreacheable" echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause fi else echo "*** FAILED network is not up yet! ***" echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause fi ;; Loading @@ -708,10 +692,7 @@ do echo "*** FAILED network is not up yet! ***" fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; established) Loading @@ -724,10 +705,7 @@ do echo "*** FAILED network is not up yet! ***" fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; torconf) Loading Loading @@ -764,10 +742,7 @@ do echo "*** FAILED network is not up yet! ***" fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; torstart) Loading Loading @@ -801,10 +776,7 @@ do fi fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; torreload) Loading @@ -825,10 +797,7 @@ do fi fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; torstop) Loading @@ -849,37 +818,22 @@ do fi fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; resources) free echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause uptime echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause top echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; entropy) echo -n "Available entropy: " cat /proc/sys/kernel/random/entropy_avail echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; torexport) Loading Loading @@ -910,10 +864,7 @@ do fi fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; reboot|shutdown) Loading Loading
configs/setup +26 −75 Original line number Diff line number Diff line Loading @@ -508,6 +508,13 @@ exporting() fi } stop_pause() { echo echo -n "Hit enter to continue: " read DUMMY echo } NETWORK=0 CONFIGURED=0 Loading Loading @@ -590,20 +597,14 @@ do echo "<Network is up and running!>" fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; gettime) echo echo -n "The time is now: " date echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; settime) Loading @@ -622,10 +623,7 @@ do echo echo -n "The time is now: " date echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; netstatus) Loading @@ -634,23 +632,15 @@ do if [ $NETWORK -ne 0 ] then ifconfig | more echo -n "Hit enter to continue: " read DUMMY echo stop_pause route -n | more echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause nslookup www.google.com | more else echo "*** FAILED network is not up yet! ***" fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; nettest) Loading Loading @@ -683,17 +673,11 @@ do && echo "OK Host $PING Reacheable" \ || echo "FAILED Host $PING Unreacheable" echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause fi else echo "*** FAILED network is not up yet! ***" echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause fi ;; Loading @@ -708,10 +692,7 @@ do echo "*** FAILED network is not up yet! ***" fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; established) Loading @@ -724,10 +705,7 @@ do echo "*** FAILED network is not up yet! ***" fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; torconf) Loading Loading @@ -764,10 +742,7 @@ do echo "*** FAILED network is not up yet! ***" fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; torstart) Loading Loading @@ -801,10 +776,7 @@ do fi fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; torreload) Loading @@ -825,10 +797,7 @@ do fi fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; torstop) Loading @@ -849,37 +818,22 @@ do fi fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; resources) free echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause uptime echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause top echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; entropy) echo -n "Available entropy: " cat /proc/sys/kernel/random/entropy_avail echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; torexport) Loading Loading @@ -910,10 +864,7 @@ do fi fi echo echo -n "Hit enter to continue: " read DUMMY echo stop_pause ;; reboot|shutdown) Loading