mod/od: cleaner os detection
mod/pkgmgmt: switched from if to case statements to prevent errors
mod/shell: switched from if to case statements to prevent errors