661 /* |
661 /* |
662 * Give threads time to cleanup |
662 * Give threads time to cleanup |
663 */ |
663 */ |
664 usleep(1500000); |
664 usleep(1500000); |
665 prompt(0, NULL); |
665 prompt(0, NULL); |
666 // stopLCD(); |
666 setBacklight(0); |
|
667 |
667 if (sock != -1) { |
668 if (sock != -1) { |
668 if (shutdown(sock, SHUT_RDWR)) { |
669 if (shutdown(sock, SHUT_RDWR)) { |
669 syslog(LOG_NOTICE, "Can't shutdown socket: %s", strerror(errno)); |
670 syslog(LOG_NOTICE, "Can't shutdown socket: %s", strerror(errno)); |
670 } |
671 } |
671 sock = -1; |
672 sock = -1; |