Ubuntu ÆÐÅ°Áö upgrade ÀÌÈÄ ¸®ºÎÆà ¿©ºÎ üũ ¸Þ¼¼Áö È®ÀÎ
# cat /var/run/reboot-required
*** ½Ã½ºÅÛÀ» ´Ù½Ã ½ÃÀÛÇØ¾ß ÇÕ´Ï´Ù ***
¡Ø ÆÐÅ°Áö°¡ ¾÷µ¥ÀÌÆ®ÇÏ°í³ª¼ ¸®ºÎÆÃÀÌ ÇÊ¿äÇÒ °æ¿ì ½Ã½ºÅÛÀº /var/run/reboot-required ÆÄÀÏÀ» »ý¼º
# cat /var/run/reboot-required.pkgs
linux-image-4.4.0-59-generic
linux-base
linux-base
È®ÀÎ)
# cat /var/run/reboot-required
*** ½Ã½ºÅÛÀ» ´Ù½Ã ½ÃÀÛÇØ¾ß ÇÕ´Ï´Ù ***
*** ½Ã½ºÅÛÀ» ´Ù½Ã ½ÃÀÛÇØ¾ß ÇÕ´Ï´Ù ***
*** ½Ã½ºÅÛÀ» ´Ù½Ã ½ÃÀÛÇØ¾ß ÇÕ´Ï´Ù ***
example)
:: ÆÐÅ°Áö ¾÷µ¥ÀÌÆ® & ¾÷±×·¹À̵å ÀÌÈÄ /var/run/reboot-required ÆÄÀÏÀÌ ÀÖÀ»°æ¿ì ¸®ºÎÆÃ
# apt-get update && apt-get -fy upgrade && [ -f /var/run/reboot-required ] && shutdown -r now