|
@ -23,6 +23,10 @@ rescue errno |
|
|
network = "Disconnected" |
|
|
network = "Disconnected" |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
# Architecture Command |
|
|
|
|
|
arch = `uname -m` |
|
|
|
|
|
|
|
|
# Print Information |
|
|
# Print Information |
|
|
puts "Internet: " + network |
|
|
puts "Internet: " + network |
|
|
puts "Hostname: " + System.hostname |
|
|
|
|
|
|
|
|
puts "Hostname: " + System.hostname |
|
|
|
|
|
puts "Archtecture: " + arch |