Re: Shutdown computer after a specific command has been executed
On Fri, 2013-12-13 at 14:28 +0100, Ralf Mardorf wrote:
> On Fri, 2013-12-13 at 11:07 +0200, Andrei POPESCU wrote:
> > Simple:
> >
> > sudo sh -c "apt-get update && apt-get --download-only -y dist-upgrade ; poweroff"
> >
> > and do the upgrade the next day, under human supervision.
>
> +1
>
> Perhaps then directly
>
> sudo sh -c "apt-get update ; apt-get --download-only -y dist-upgrade ; poweroff"
Nonsense, my apologies.
Just +1, nothing to change.
Reply to: