if running from CD and action sysinfo use different code for rebooting
simplify if then else