Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d2a83294e0 | ||
![]() |
a221f2dd22 | ||
![]() |
905d8f07b2 | ||
![]() |
244c0a4203 | ||
![]() |
fa04d943a6 | ||
![]() |
1758a4fe48 | ||
![]() |
22bfa5e1a5 | ||
![]() |
49d7bc3436 | ||
![]() |
615bfc18a4 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
compiled/previous
Symbolic link
1
compiled/previous
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/etc/s6/compiled/default
|
2
init
2
init
@@ -79,7 +79,7 @@ background {
|
|||||||
s6-setsid --
|
s6-setsid --
|
||||||
redirfd -w 1 /run/s6-run/service/s6-svscan-log/fifo
|
redirfd -w 1 /run/s6-run/service/s6-svscan-log/fifo
|
||||||
fdmove -c 2 1
|
fdmove -c 2 1
|
||||||
/etc/stage2
|
/etc/s6/stage2
|
||||||
}
|
}
|
||||||
|
|
||||||
unexport !
|
unexport !
|
||||||
|
@@ -7,6 +7,5 @@ rofs-Udevd
|
|||||||
rofs-Checkfs
|
rofs-Checkfs
|
||||||
rofs-modules
|
rofs-modules
|
||||||
rofs-swap
|
rofs-swap
|
||||||
rofs-loopback
|
|
||||||
rofs-kernruntime
|
rofs-kernruntime
|
||||||
|
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
rwfs-fsrw
|
rwfs-fsrw
|
||||||
|
rwfs-loopback
|
||||||
rwfs-nonetwork
|
rwfs-nonetwork
|
||||||
rwfs-localtime
|
rwfs-localtime
|
||||||
rwfs-random
|
rwfs-random
|
||||||
|
@@ -1,3 +1,8 @@
|
|||||||
#!/usr/local/bin/execlineb -P
|
#!/usr/local/bin/execlineb -P
|
||||||
fdmove -c 2 1
|
fdmove -c 2 1
|
||||||
|
# if partition is checked, fsck return a fail exit
|
||||||
|
# and a crash occurs, so whatever happens with fsck, the output need to be a success
|
||||||
|
if -t {
|
||||||
fsck -A -T -a
|
fsck -A -T -a
|
||||||
|
}
|
||||||
|
s6-true
|
||||||
|
@@ -1 +1 @@
|
|||||||
|
00
|
||||||
|
@@ -1 +1,2 @@
|
|||||||
00
|
00
|
||||||
|
rofs-Udevd
|
||||||
|
2
rc-serv-boot/rwfs-loopback/dependencies
Normal file
2
rc-serv-boot/rwfs-loopback/dependencies
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
rwfs-fsrw
|
||||||
|
|
1
rc-serv-boot/rwfs-loopback/type
Normal file
1
rc-serv-boot/rwfs-loopback/type
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oneshot
|
4
rc-serv-boot/rwfs-loopback/up
Normal file
4
rc-serv-boot/rwfs-loopback/up
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/local/bin/execlineb -P
|
||||||
|
|
||||||
|
fdmove -c 2 1
|
||||||
|
ip link set up dev lo
|
28
shutdown
Executable file
28
shutdown
Executable file
@@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
usage() {
|
||||||
|
cat << EOF
|
||||||
|
Usage: shutdown [OPTION]
|
||||||
|
-r, --reboot Reboot
|
||||||
|
-p, --poweroff Poweroff
|
||||||
|
EOF
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
|
signal="${1}"
|
||||||
|
if [ -z $signal ]; then
|
||||||
|
usage
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "${signal}" in
|
||||||
|
-p|-P|--poweroff|-H|-h|--halt)
|
||||||
|
signal=SIGUSR2
|
||||||
|
;;
|
||||||
|
-r|--reboot)
|
||||||
|
signal=SIGINT
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
usage
|
||||||
|
esac
|
||||||
|
|
||||||
|
exec /run/s6-run/service/.s6-svscan/"${signal}"
|
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/local/bin/execlineb -P
|
#!/usr/local/bin/execlineb -P
|
||||||
|
|
||||||
foreground { /etc/stage2.tini }
|
foreground { /etc/s6/stage2.tini }
|
||||||
s6-svscanctl -h -- /run/s6-run/service
|
s6-svscanctl -h -- /run/s6-run/service
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/local/bin/execlineb -P
|
#!/usr/local/bin/execlineb -P
|
||||||
|
|
||||||
foreground { /etc/stage2.tini }
|
foreground { /etc/s6/stage2.tini }
|
||||||
s6-svscanctl -6 -- /run/s6-run/service
|
s6-svscanctl -6 -- /run/s6-run/service
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/local/bin/execlineb -P
|
#!/usr/local/bin/execlineb -P
|
||||||
|
|
||||||
foreground { /etc/stage2.tini }
|
foreground { /etc/s6/stage2.tini }
|
||||||
s6-svscanctl -q -- /run/s6-run/service
|
s6-svscanctl -q -- /run/s6-run/service
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/local/bin/execlineb -P
|
#!/usr/local/bin/execlineb -P
|
||||||
|
|
||||||
foreground { /etc/stage2.tini }
|
foreground { /etc/s6/stage2.tini }
|
||||||
s6-svscanctl -t -- /run/s6-run/service
|
s6-svscanctl -t -- /run/s6-run/service
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/local/bin/execlineb -P
|
#!/usr/local/bin/execlineb -P
|
||||||
|
|
||||||
foreground { /etc/stage2.tini }
|
foreground { /etc/s6/stage2.tini }
|
||||||
s6-svscanctl -7 -- /run/s6-run/service
|
s6-svscanctl -7 -- /run/s6-run/service
|
||||||
|
@@ -6,4 +6,4 @@ fdmove -c 1 2
|
|||||||
foreground { s6-svc -X -- /run/s6-run/service/s6-svscan-log }
|
foreground { s6-svc -X -- /run/s6-run/service/s6-svscan-log }
|
||||||
unexport ?
|
unexport ?
|
||||||
wait -r -- { }
|
wait -r -- { }
|
||||||
/etc/stage3 ${@}
|
/etc/s6/stage3 ${@}
|
||||||
|
Reference in New Issue
Block a user