Add a shortcute for /eval.sh

Create /eval_base64.sh to overcome quoting and newline limitations.

Documente poweroff's failure on readme.
This commit is contained in:
Ciro Santilli
2018-03-14 21:11:02 +00:00
parent 54feab9f00
commit e8f09a76e6
7 changed files with 91 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
/* Userspace is for the weak. Die.
* https://stackoverflow.com/questions/28812514/how-to-shutdown-linux-using-c-or-qt-without-call-to-system
* BusyBox's /sbin/poweroff is under init/halt.c, but it does extra crap like killing init, so I don't trust it. */
**/
#include <stdio.h>
#include <sys/reboot.h>