summaryrefslogtreecommitdiff
path: root/initrd/bin/sh
diff options
context:
space:
mode:
authordzwdz2022-08-13 17:40:44 +0200
committerdzwdz2022-08-13 17:40:44 +0200
commitd69d7614ea8b9720f934a94249ee8199bbcaf70c (patch)
tree3c82821e3c9f90148fdf392e5a26a9b5753756e6 /initrd/bin/sh
parent57427191e2cf0f08724b74fba3a35aa41ceda40d (diff)
user: add /initctl for shutting the system down in a cleaner way
Diffstat (limited to 'initrd/bin/sh')
-rw-r--r--initrd/bin/sh/halt2
1 files changed, 2 insertions, 0 deletions
diff --git a/initrd/bin/sh/halt b/initrd/bin/sh/halt
new file mode 100644
index 0000000..563aded
--- /dev/null
+++ b/initrd/bin/sh/halt
@@ -0,0 +1,2 @@
+#!/bin/shell
+echo halt > /initctl \ No newline at end of file