busybox/examples/shutdown-1.0/script/hardshutdown.make.sh
Denys Vlasenko c21dfaf836 examples/shutdown-1.0: an example of reboot which does not signal init
For one, my inits know nothing about the concept of "shutting down the system".

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-04-20 15:12:52 +02:00

9 lines
151 B
Bash
Executable File

#!/bin/sh
gcc -Wall -Os -o hardshutdown hardshutdown.c
strip hardshutdown
#or:
#diet gcc -Wall -o hardshutdown hardshutdown.c
#elftrunc hardshutdown