On Thu, 2013-12-12 at 18:57 +0400, Reco wrote:
> sudo sh -c "apt-get update && apt-get upgrade -y && poweroff"
> 
> That's more like it. Depending on a hardware, 'shutdown -h now' can
> leave the power on.

:D We are close to solve it :D.

&& apt-get upgrade -y && poweroff
                      ^^^^ if the upgrade fails, it won't shutdown, then
it won't go off-line and be a big issue for the OP.

sudo sh -c "apt-get update && apt-get dist-upgrade -y ; poweroff"





-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1386861044.1257.298.camel@archlinux

Reply via email to