From efee4ebf43e376a7cd8b8abcef0c70aa90427bb4 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 1 Mar 2022 22:01:26 +0000 Subject: initial commit --- s6/base/bin/halt | 3 +++ s6/base/bin/init | 3 +++ s6/base/bin/poweroff | 3 +++ s6/base/bin/reboot | 3 +++ s6/base/bin/shutdown | 3 +++ s6/base/bin/telinit | 3 +++ 6 files changed, 18 insertions(+) create mode 100755 s6/base/bin/halt create mode 100755 s6/base/bin/init create mode 100755 s6/base/bin/poweroff create mode 100755 s6/base/bin/reboot create mode 100755 s6/base/bin/shutdown create mode 100755 s6/base/bin/telinit (limited to 's6/base/bin') diff --git a/s6/base/bin/halt b/s6/base/bin/halt new file mode 100755 index 0000000..a2c7938 --- /dev/null +++ b/s6/base/bin/halt @@ -0,0 +1,3 @@ +#!/bin/execlineb -S0 + +s6-linux-init-hpr -h $@ diff --git a/s6/base/bin/init b/s6/base/bin/init new file mode 100755 index 0000000..278e493 --- /dev/null +++ b/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/s6/base/bin/poweroff b/s6/base/bin/poweroff new file mode 100755 index 0000000..8177a96 --- /dev/null +++ b/s6/base/bin/poweroff @@ -0,0 +1,3 @@ +#!/bin/execlineb -S0 + +s6-linux-init-hpr -p $@ diff --git a/s6/base/bin/reboot b/s6/base/bin/reboot new file mode 100755 index 0000000..8e82d11 --- /dev/null +++ b/s6/base/bin/reboot @@ -0,0 +1,3 @@ +#!/bin/execlineb -S0 + +s6-linux-init-hpr -r $@ diff --git a/s6/base/bin/shutdown b/s6/base/bin/shutdown new file mode 100755 index 0000000..6c1b0c3 --- /dev/null +++ b/s6/base/bin/shutdown @@ -0,0 +1,3 @@ +#!/bin/execlineb -S0 + +s6-linux-init-shutdown $@ diff --git a/s6/base/bin/telinit b/s6/base/bin/telinit new file mode 100755 index 0000000..823def0 --- /dev/null +++ b/s6/base/bin/telinit @@ -0,0 +1,3 @@ +#!/bin/execlineb -S0 + +s6-linux-init-telinit $@ -- cgit v1.2.1