Update sysinfo.sh

Code cleanup.