What in nine hells was this.
parent
f38a794b1c
commit
cb94b92e9c
|
@ -16,7 +16,7 @@ module System
|
||||||
field,val = l.chomp.split(":")
|
field,val = l.chomp.split(":")
|
||||||
system_info[field] = val.strip
|
system_info[field] = val.strip
|
||||||
end
|
end
|
||||||
system_info["Kernel"] = `uname -a`.chomp
|
system_info["Kernel"] = cmd_exec("uname -a")
|
||||||
system_info["Hostname"] = system_info["Kernel"].split(" ")[1]
|
system_info["Hostname"] = system_info["Kernel"].split(" ")[1]
|
||||||
|
|
||||||
return system_info
|
return system_info
|
||||||
|
|
Loading…
Reference in New Issue