[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Jessie: Shutdown



> 
>     echo "
>     alias reboot='echo \"The system is going down for system reboot NOW!\" |\
>       /usr/bin/wall -n ; /bin/systemctl --force reboot'
> 
>     alias halt='echo \"The system is going down for system halt NOW!\" |\
>       /usr/bin/wall -n ; /bin/systemctl --force poweroff'
> 
>     alias poweroff='echo \"The system is going down for system halt NOW!\" |\
>       /usr/bin/wall -n ; /bin/systemctl --force poweroff'
>     " >> /root/.bashrc
> 
> 
> hat bei mir geholfen.

Das ist keine gute Empfehlung.

--force umgeht den normalen shutdown Prozess.
Die Dienste werde also nicht sauber und in der korrekten Reihenfolge
beendet. systemd killed einfach alle Prozesse, remounted die FS ro und
schaltet dann den Rechner ab.

Soweit möglich, sollte das also vermieden werden.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: