On 2014-09-06 13:39, Anton Aylward wrote:
On 09/06/2014 07:14 AM, Carlos E. R. wrote:
+1
The systemd bashing in this thread is completely unjustified.
It is possible, though, to design a script or sequence that halts or powers down the machine, and which can be called when "init=/bin/bash" was used. Calling the system halt program will not work if it tries to call systemd, because it is not running... Telcontar:~ # l /sbin/halt /sbin/poweroff /sbin/shutdown lrwxrwxrwx 1 root root 18 Jun 25 04:00 /sbin/halt -> /usr/bin/systemctl* lrwxrwxrwx 1 root root 18 Jun 25 04:00 /sbin/poweroff -> /usr/bin/systemctl* lrwxrwxrwx 1 root root 18 Jun 25 04:00 /sbin/shutdown -> /usr/bin/systemctl* I think that there is something you can write to some file in proc and powerdown? Instantly, no umount, no nothing. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)