diff options
author | davidovski <david@davidovski.xyz> | 2022-03-01 23:14:41 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-01 23:14:41 +0000 |
commit | ea4267fac55c7d8a6093a6b03ff0e9c795786d3e (patch) | |
tree | 04905981b9d5ad7a4710c472faf920f3c5e28375 /s6/skel | |
parent | efee4ebf43e376a7cd8b8abcef0c70aa90427bb4 (diff) |
reorganised
Diffstat (limited to 's6/skel')
-rw-r--r-- | s6/skel/rc.init | 9 | ||||
-rw-r--r-- | s6/skel/rc.shutdown | 3 | ||||
-rw-r--r-- | s6/skel/rc.shutdown.final | 18 | ||||
-rw-r--r-- | s6/skel/runlevel | 5 |
4 files changed, 0 insertions, 35 deletions
diff --git a/s6/skel/rc.init b/s6/skel/rc.init deleted file mode 100644 index b467448..0000000 --- a/s6/skel/rc.init +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -e - -rl="$1" -shift - -s6-rc-init -c /etc/s6/db/current /run/service - -exec /etc/s6/base/scripts/runlevel "$rl" - diff --git a/s6/skel/rc.shutdown b/s6/skel/rc.shutdown deleted file mode 100644 index bc5771d..0000000 --- a/s6/skel/rc.shutdown +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -e - -exec s6-rc -bda change diff --git a/s6/skel/rc.shutdown.final b/s6/skel/rc.shutdown.final deleted file mode 100644 index 3f46b87..0000000 --- a/s6/skel/rc.shutdown.final +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -e - -### Things to do *right before* the machine gets rebooted or -### powered off, at the very end of the shutdown sequence, -### when all the filesystems are unmounted. - -### This is a last resort hook; normally nothing should be -### done here (your rc.shutdown script should have taken care -### of everything) and you should leave this script empty. - -### Some distributions, however, may need to perform some -### actions after unmounting the filesystems: typically if -### an additional teardown action is required on a filesystem -### after unmounting it, or if the system needs to be -### pivot_rooted before it can be shut down, etc. - -### Those are all exceptional cases. If you don't know for -### certain that you need to do something here, you don't. diff --git a/s6/skel/runlevel b/s6/skel/runlevel deleted file mode 100644 index f9db6e4..0000000 --- a/s6/skel/runlevel +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -e - -test "$#" -gt 0 || { echo 'runlevel: fatal: too few arguments' 1>&2 ; exit 100 ; } - -exec s6-rc -up change "$1" |