make sure update script only runs on tty2 (CentOS script)