using exit codes for laptop-detect, smartctl