summaryrefslogtreecommitdiff
path: root/xi/s6/base/bin
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-01 23:14:41 +0000
committerdavidovski <david@davidovski.xyz>2022-03-01 23:14:41 +0000
commitea4267fac55c7d8a6093a6b03ff0e9c795786d3e (patch)
tree04905981b9d5ad7a4710c472faf920f3c5e28375 /xi/s6/base/bin
parentefee4ebf43e376a7cd8b8abcef0c70aa90427bb4 (diff)
reorganised
Diffstat (limited to 'xi/s6/base/bin')
-rwxr-xr-xxi/s6/base/bin/halt3
-rwxr-xr-xxi/s6/base/bin/init3
-rwxr-xr-xxi/s6/base/bin/poweroff3
-rwxr-xr-xxi/s6/base/bin/reboot3
-rwxr-xr-xxi/s6/base/bin/shutdown3
-rwxr-xr-xxi/s6/base/bin/telinit3
6 files changed, 18 insertions, 0 deletions
diff --git a/xi/s6/base/bin/halt b/xi/s6/base/bin/halt
new file mode 100755
index 0000000..a2c7938
--- /dev/null
+++ b/xi/s6/base/bin/halt
@@ -0,0 +1,3 @@
+#!/bin/execlineb -S0
+
+s6-linux-init-hpr -h $@
diff --git a/xi/s6/base/bin/init b/xi/s6/base/bin/init
new file mode 100755
index 0000000..278e493
--- /dev/null
+++ b/xi/s6/base/bin/init
@@ -0,0 +1,3 @@
+#!/bin/execlineb -S0
+
+s6-linux-init -c "/etc/s6/base" -m 0022 -p "/bin:/sbin:/usr/bin" -D "default" -- "$@"
diff --git a/xi/s6/base/bin/poweroff b/xi/s6/base/bin/poweroff
new file mode 100755
index 0000000..8177a96
--- /dev/null
+++ b/xi/s6/base/bin/poweroff
@@ -0,0 +1,3 @@
+#!/bin/execlineb -S0
+
+s6-linux-init-hpr -p $@
diff --git a/xi/s6/base/bin/reboot b/xi/s6/base/bin/reboot
new file mode 100755
index 0000000..8e82d11
--- /dev/null
+++ b/xi/s6/base/bin/reboot
@@ -0,0 +1,3 @@
+#!/bin/execlineb -S0
+
+s6-linux-init-hpr -r $@
diff --git a/xi/s6/base/bin/shutdown b/xi/s6/base/bin/shutdown
new file mode 100755
index 0000000..6c1b0c3
--- /dev/null
+++ b/xi/s6/base/bin/shutdown
@@ -0,0 +1,3 @@
+#!/bin/execlineb -S0
+
+s6-linux-init-shutdown $@
diff --git a/xi/s6/base/bin/telinit b/xi/s6/base/bin/telinit
new file mode 100755
index 0000000..823def0
--- /dev/null
+++ b/xi/s6/base/bin/telinit
@@ -0,0 +1,3 @@
+#!/bin/execlineb -S0
+
+s6-linux-init-telinit $@