-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from dslm4515/stable-4.05
Stable 4.05 Added missing `skel` directory. Fixed minor typos.
- Loading branch information
Showing
5 changed files
with
51 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh -e | ||
|
||
rl="$1" | ||
shift | ||
|
||
s6-rc-init -c /etc/s6/db/current /run/service | ||
|
||
exec /etc/s6/base/scripts/runlevel "$rl" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh -e | ||
|
||
exec s6-rc -bda change |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh -e | ||
|
||
test "$#" -gt 0 || { echo 'runlevel: fatal: too few arguments' 1>&2 ; exit 100 ; } | ||
|
||
exec s6-rc -up change "$1" |