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>
This commit is contained in:
8
examples/shutdown-1.0/script/hardshutdown.make.sh
Executable file
8
examples/shutdown-1.0/script/hardshutdown.make.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
gcc -Wall -Os -o hardshutdown hardshutdown.c
|
||||
strip hardshutdown
|
||||
|
||||
#or:
|
||||
#diet gcc -Wall -o hardshutdown hardshutdown.c
|
||||
#elftrunc hardshutdown
|
||||
Reference in New Issue
Block a user