45 Commits

Author SHA1 Message Date
Eric Vidal
3ede7a7e1a ooops 2016-06-16 09:19:16 +04:00
Eric Vidal
ecf880bbba separate classic and rc service, change location of compiled database for user 2016-06-16 09:16:38 +04:00
Eric Vidal
e078f81833 rename variable boot-serv 2016-06-16 09:11:31 +04:00
Eric Vidal
2da29b1f89 add s6.local script 2016-06-16 09:10:03 +04:00
Eric Vidal
2229c16ccb rebuild database according to the change of boot-rc-serv 2016-06-16 09:08:47 +04:00
Eric Vidal
a973077e7c rename rc service for boot, separate boot service and user service, add new features, rename directory for better clarity 2016-06-16 09:07:44 +04:00
Eric Vidal
c1462043c4 rename service directory for boot to better clarity 2016-06-16 09:06:13 +04:00
Eric Vidal
8f488f90c2 add s6.local features 2016-06-16 08:59:12 +04:00
Eric Vidal
5b60188bd1 change poweroff, shutdown, reboot script according to the new location of .s6-svscan 2016-06-16 08:58:45 +04:00
Eric Vidal
6467aa9404 change database location with -l option 2016-06-16 08:57:22 +04:00
Eric Vidal
ac5d797b7f change database initiation with -l option 2016-06-16 08:56:40 +04:00
Eric Vidal
1360a70b56 remove symlinks,use directly the copy of boot-serv variable 2016-06-16 08:55:50 +04:00
Eric Vidal
46e69c496d change completion according to the new directory for service 2016-06-16 08:54:24 +04:00
Eric Vidal
22f0fca0fd build default database 2016-06-10 09:10:33 +04:00
Eric Vidal
069c32c3c1 allow forcecheck if asked 2016-06-10 09:10:03 +04:00
Eric Vidal
36cf18ab0f add iptables features and fscheck options 2016-06-10 09:09:16 +04:00
Eric Vidal
be97f38a80 add iptables oneshot at boot time 2016-06-10 09:08:44 +04:00
Eric Vidal
1b297934a6 dmesg must be the last oneshot started before switching to bundle all-User 2016-06-10 09:08:04 +04:00
Eric Vidal
230d30ff1a clean /tmp directory at shutdown 2016-06-10 09:06:29 +04:00
Eric Vidal
8a2027df08 classify the compilation database source directory 2016-06-07 17:50:44 +04:00
Eric Vidal
d2a83294e0 fix obscur bug about ip link 2016-06-06 17:19:58 +04:00
Eric Vidal
a221f2dd22 grrr 2016-06-04 21:20:02 +04:00
Eric Vidal
905d8f07b2 add shutdown script 2016-06-04 16:15:43 +04:00
Eric Vidal
244c0a4203 change path for stage2, stage3 2016-06-04 09:36:00 +04:00
Eric Vidal
fa04d943a6 rebuild database 2016-06-03 22:10:36 +04:00
Eric Vidal
1758a4fe48 fix dependencies for rofs-hardclock 2016-06-03 22:10:02 +04:00
Eric Vidal
22bfa5e1a5 build again default database to follow the change 2016-06-02 18:21:07 +04:00
Eric Vidal
49d7bc3436 bring up after udevd 2016-06-02 18:20:36 +04:00
Eric Vidal
615bfc18a4 always exit with success to avoids crash if a check is made 2016-06-02 18:19:44 +04:00
Eric Vidal
0895fd81ac remove pipe for log entry on udevd udevadm 2016-05-31 20:15:47 +04:00
Eric Vidal
c56a5527ea provide a default database 2016-05-31 17:38:22 +04:00
Eric Vidal
fad5c2878f change place of compiled database for s6-rc, using current as symlink allow to change database on running time without changing the init and stage2 script 2016-05-31 17:37:56 +04:00
Eric Vidal
7c08fd3298 add directory for user service 2016-05-26 21:09:03 +04:00
Eric Vidal
d8ded07d97 rename boot service directory 2016-05-26 21:08:38 +04:00
Eric Vidal
14255da33d change origin of database 2016-05-26 21:05:35 +04:00
Eric Vidal
227e9634e4 oops 2016-05-25 13:16:18 +04:00
Eric Vidal
bd944a7194 improve s6-svc zsh completion 2016-05-25 13:15:09 +04:00
Eric Vidal
a70d048192 improve completion for s6-svc 2016-05-24 21:38:50 +04:00
Eric Vidal
33e7d5b330 fix bug about supervision control 2016-05-23 20:10:50 +04:00
Eric Vidal
5134fa1da5 oops 2016-05-23 13:12:54 +04:00
Eric Vidal
2d95062402 add zsh completion for s6-svc 2016-05-23 13:10:28 +04:00
Eric Vidal
502e66ab40 add log for divers service 2016-05-19 18:42:36 +04:00
Eric Vidal
f0d29a96d4 change command for divers Signal 2016-05-19 18:39:17 +04:00
Eric Vidal
465df8bf18 load environment for svscan 2016-05-19 18:38:21 +04:00
Eric Vidal
d13bf1f770 call SIGUSR2 instead of SIGUSR1 2016-05-19 18:37:21 +04:00
189 changed files with 529 additions and 168 deletions

115
_s6-svc Normal file
View File

@@ -0,0 +1,115 @@
#compdef s6-svc
# completion for s6-svc
# Eric Vidal <eric@obarun.org>
# services in /run/s6/service. Change the path variable to suit your needs.
path_dir_boot=/run/boot/service
path_dir_user=/run/user/service
typeset -A opt_args
_path() {
local list_dir
list_dir_boot=( $path_dir_boot/* )
list_dir_user=( $path_dir_user/* )
compadd "$@" -a list_dir_boot list_dir_user
}
_list_common=(
'-a[send a SIGALRM to the supervised process]'
'-b[send a SIGABRT to the supervised process]'
'-q[send a SIGQUIT to the supervised process]'
'-h[send a SIGHUP to the supervised process]'
'-k[send a SIGKILL to the supervised process]'
'-t[send a SIGTERM to the supervised process]'
'-i[send a SIGINT to the supervised process]'
'-1[send a SIGUSR1 to the supervised process]'
'-2[send a SIGUSR2 to the supervised process]'
'-p[send a SIGSTOP to the supervised process]'
'-c[send a SIGCONT to the supervised process]'
'-y[send a SIGWINCH to the supervised process]'
'-o[once. Equivalent to -uO]'
'-d[down]'
'-u[up]'
'-x[exit]'
'-X[close fds and exit]'
'-O[Once at most. Do not restart when it dies]'
'-T[timeout]'
)
_list_special=(
'-wd[s6-svc will not exit until the service is down]'
'-wD[s6-svc will not exit until the service is down and ready to be brought up]'
'-wu[s6-svc will not exit until the service is up]'
'-wU[s6-svc will not exit until the service is up and ready]'
'-wr[s6-svc will not exit until the service has been started or restarted]'
'-wR[same as -wr but need to be notified readiness]'
)
_svc_action_none() {
_arguments \
"$_list_common[@]" \
"$_list_special[@]"
}
_svc() {
local context line i
typeset -A opt_args
case $words[CURRENT] in
*wd*|*wD*|*wu*|*wU*|*wr*|*wR*)
_arguments -s : \
"$_list_common[@]" \
"$_list_special[@]" \
'*:service:_path'
;;
*a*|*b*|*q*|*h*|*k*|*t*|*i*|*1*|*2*|*p*|*c*|*y*|*o*|*d*|*u*|*x*|*X*|*O*)
if [[ $words[CURRENT] == -*T ]]; then
_arguments : \
':\if the -wstate option has been given, -T specifies a timeout in milliseconds: ' \
'*:service:_path'
else
_arguments -s : \
"$_list_common[@]" \
"$_list_special[@]" \
'*:service:_path'
fi
;;
-T)
_arguments -s : \
':if the -wstate option has been given, -T specifies a timeout in milliseconds: ' \
'*:service:_path'
;;
*) i=$#;
while [[ $words[$i] != "s6-svc" ]];do
if [[ $words[$i] == -* ]]; then
break
else
i=$(($i-1))
fi
done
case $i in
-*)
if [[ $words[$i] != "s6-svc" ]]; then
_arguments -s : \
"$_list_common[@]" \
"$_list_special[@]" \
'*:service:_path'
else
_message "enter a - character to begin the completion"
fi
;;
*)
_svc_action_none
;;
esac
;;
esac
}
_svc "$@"

View File

@@ -1,5 +1,6 @@
#!/usr/local/bin/execlineb -P #!/usr/local/bin/execlineb -P
fdmove -c 2 1 fdmove -c 2 1
if { s6-echo -- 00 started }
s6-envdir /etc/s6/env/s6-conf s6-envdir /etc/s6/env/s6-conf
# mount proc sys dev run if doesn't exist # mount proc sys dev run if doesn't exist
#import -i HOSTNAME #import -i HOSTNAME
@@ -30,17 +31,20 @@ if {
} }
# finaly mount /dev/shm /dev/pts # finaly mount /dev/shm /dev/pts
forx -p third { shm pts }
import -ui third
if { if {
foreground { forx -p third { shm pts }
if -n { mountpoint -q /dev/$third } import -ui third
if { s6-mkdir -p -m 0755 /dev/$third } if {
s6-envdir /etc/s6/env/mount/$third foreground {
import -ui fstype if -n { mountpoint -q /dev/$third }
import -ui device if { s6-mkdir -p -m 0755 /dev/$third }
import -ui mountpoint s6-envdir /etc/s6/env/mount/$third
import -ui options import -ui fstype
s6-mount -o $options -n -t $fstype $device $mountpoint import -ui device
} import -ui mountpoint
import -ui options
s6-mount -o $options -n -t $fstype $device $mountpoint
}
}
} }
s6-echo -- 00 successfully started

View File

@@ -0,0 +1,3 @@
all-Boot
#all-User
all-Switch

View File

@@ -0,0 +1,3 @@
switch-ready
switch-svscan
switch-user

View File

@@ -7,6 +7,5 @@ rofs-Udevd
rofs-Checkfs rofs-Checkfs
rofs-modules rofs-modules
rofs-swap rofs-swap
rofs-loopback
rofs-kernruntime rofs-kernruntime

View File

@@ -0,0 +1,10 @@
rwfs-fsrw
rwfs-loopback
rwfs-iptables
rwfs-nonetwork
rwfs-localtime
rwfs-random
rwfs-cleanboot
rwfs-end
rwfs-dmesglog
rwfs-s6local

View File

@@ -1,6 +1,7 @@
#!/usr/local/bin/execlineb -P #!/usr/local/bin/execlineb -P
fdmove -c 2 1 fdmove -c 2 1
if { s6-echo -- checkfs-brtfs started }
s6-envdir /etc/s6/env/s6-conf s6-envdir /etc/s6/env/s6-conf
import -D "" USEBTRFS import -D "" USEBTRFS
foreground { foreground {
@@ -8,4 +9,4 @@ foreground {
if { s6-test -x /usr/bin/btrfs } if { s6-test -x /usr/bin/btrfs }
btrfs device scan btrfs device scan
} }
true s6-echo -- checkfs-brtfs successfully started

View File

@@ -1,6 +1,7 @@
#!/usr/local/bin/execlineb -P #!/usr/local/bin/execlineb -P
fdmove -c 2 1 fdmove -c 2 1
if { s6-echo -- checkfs-dmraid started }
s6-envdir /etc/s6/env/s6-conf s6-envdir /etc/s6/env/s6-conf
import -D "" USEDMRAID import -D "" USEDMRAID
foreground { foreground {
@@ -8,4 +9,4 @@ foreground {
if { s6-test -x /usr/bin/dmraid } if { s6-test -x /usr/bin/dmraid }
dmraid -i -ay dmraid -i -ay
} }
true s6-echo -- checkfs-dmraid successfully started

View File

@@ -0,0 +1,21 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
if { s6-echo -- checkfs-fsckeck started }
s6-envdir /etc/s6/env/s6-conf
import -D "" FORCECHCK
if -t {
if { s6-test $FORCECHCK = yes }
redirfd -w 1 /dev/console
if { s6-echo -- Check of filesystem was asked, please wait }
if { fsck -A -T -a -f noopts=_netdev }
if { s6-echo -- Filesystem checked }
redirfd -w 1 /run/s6/service/s6-svscan-log/fifo
s6-true
}
# 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 noopts=_netdev
}
wait { }
s6-echo -- checkfs-fscheck successfully started

View File

@@ -1,6 +1,7 @@
#!/usr/local/bin/execlineb -P #!/usr/local/bin/execlineb -P
fdmove -c 2 1 fdmove -c 2 1
if { s6-echo -- rofs-cgroups started }
s6-envdir /etc/s6/env/s6-conf s6-envdir /etc/s6/env/s6-conf
import -D "" CGROUPS import -D "" CGROUPS
foreground { foreground {
@@ -16,4 +17,4 @@ foreground {
if { s6-mkdir /sys/fs/cgroup/${i} } if { s6-mkdir /sys/fs/cgroup/${i} }
s6-mount -t cgroup -o ${i} -- cgroup /sys/fs/cgroup/${i} s6-mount -t cgroup -o ${i} -- cgroup /sys/fs/cgroup/${i}
} }
true s6-echo -- rofs-cgroups successfully started

View File

@@ -1 +1,2 @@
rofs-kernmod rofs-kernmod
rofs-Udevd

View File

@@ -0,0 +1,19 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
if { s6-echo -- rofs-console started }
s6-envdir /etc/s6/env/s6-conf
import -D "" KEYMAP
import -D "" FONT
import -D "" FONT_MAP
import -D "" FONT_UNIMAP
foreground {
loadkeys -q -u $KEYMAP
}
foreground {
forx index { 0 1 2 3 4 5 6 7 8 9 10 }
import -u index
setfont -m $FONT_MAP -u $FONT_UNIMAP $FONT -C /dev/tty${index}
}
s6-echo -- rofs-console successfully started

View File

@@ -0,0 +1,15 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
if { s6-echo -- rofs-hardclock started }
foreground {
s6-envdir /etc/s6/env/s6-conf
import -D "" TZ
import -D "" HARDWARECLOCK
pipeline -d { echo $HARDWARECLOCK }
pipeline { tr A-Z a-z }
forstdin -- clock
import -iu clock
hwclock --systz --${clock} --noadjfile
}
s6-echo -- rofs-hardclock successfully started

View File

@@ -0,0 +1,14 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
if { s6-echo -- rofs-kermod started }
foreground {
pipeline -d { kmod static-nodes }
pipeline { s6-grep -F -- Module: }
pipeline { s6-cut -d":" -f2 }
pipeline { s6-cut -d" " -f2 }
forstdin -d"\n" -- mod
import -iu mod
modprobe $mod
}
s6-echo -- rofs-kermod successfully started

View File

@@ -1,6 +1,7 @@
#!/usr/bin/execlineb -P #!/usr/local/bin/execlineb -P
fdmove -c 2 1 fdmove -c 2 1
if { s6-echo -- rofs-kernruntime started }
s6-envdir /etc/s6/env/s6-conf s6-envdir /etc/s6/env/s6-conf
import -D "" KERNELRUNTIME import -D "" KERNELRUNTIME
foreground { foreground {
@@ -9,4 +10,4 @@ foreground {
if { s6-test -e /etc/sysctl.conf } if { s6-test -e /etc/sysctl.conf }
sysctl -p /etc/sysctl.conf sysctl -p /etc/sysctl.conf
} }
true s6-echo -- rofs-kernruntime successfully started

View File

@@ -1,6 +1,7 @@
#!/usr/local/bin/execlineb -P #!/usr/local/bin/execlineb -P
fdmove -c 2 1 fdmove -c 2 1
if { s6-echo -- rofs-modules started }
foreground { foreground {
if { s6-test -e /etc/s6/env/s6-conf/MODULES } if { s6-test -e /etc/s6/env/s6-conf/MODULES }
redirfd -r 0 /etc/s6/env/s6-conf/MODULES redirfd -r 0 /etc/s6/env/s6-conf/MODULES
@@ -11,4 +12,4 @@ foreground {
modprobe -ab $mods modprobe -ab $mods
} }
} }
true s6-echo -- rofs-modules successfully started

View File

@@ -1,10 +1,11 @@
#!/usr/local/bin/execlineb -P #!/usr/local/bin/execlineb -P
fdmove -c 2 1 fdmove -c 2 1
if { s6-echo -- rofs-swap started }
s6-envdir /etc/s6/env/s6-conf s6-envdir /etc/s6/env/s6-conf
import -D "" USESWAP import -D "" USESWAP
foreground { foreground {
if { s6-test $USESWAP = yes } if { s6-test $USESWAP = yes }
swapon -a swapon -a
} }
true s6-echo -- rofs-swap successfully started

View File

@@ -1,6 +1,7 @@
#!/usr/local/bin/execlineb -P #!/usr/local/bin/execlineb -P
fdmove -c 2 1 fdmove -c 2 1
if { s6-echo -- rwfs-cleanboot started }
if -t { install -m0664 -o root -g utmp /dev/null /run/utmp } if -t { install -m0664 -o root -g utmp /dev/null /run/utmp }
if -nt { s6-test -e /var/log/wtmp } if -nt { s6-test -e /var/log/wtmp }
@@ -8,4 +9,5 @@ if -t { install -m0664 -o root -g utmp /dev/null /var/log/wtmp }
if -nt { s6-test -e /var/log/btmp } if -nt { s6-test -e /var/log/btmp }
if -t { install -m0600 -o root -g utmp /dev/null /var/log/btmp } if -t { install -m0600 -o root -g utmp /dev/null /var/log/btmp }
install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix if -t { install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix }
s6-echo -- rwfs-cleanboot successfully started

View File

@@ -0,0 +1 @@
rwfs-end

View File

@@ -0,0 +1,8 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
if { s6-echo -- rwfs-dmesglog started }
foreground {
redirfd -w 1 /var/log/dmesg.log
dmesg
}
s6-echo -- rwfs-dmesglog successfully started

View File

@@ -1,6 +1,7 @@
rwfs-fsrw rwfs-fsrw
rwfs-loopback
rwfs-iptables
rwfs-nonetwork rwfs-nonetwork
rwfs-localtime rwfs-localtime
rwfs-random rwfs-random
rwfs-cleanboot rwfs-cleanboot
rwfs-dmesglog

View File

@@ -0,0 +1,5 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
if { s6-echo -- rwfs-fsrw started }
if { s6-mount -o remount,rw / / }
s6-echo -- rwfs-fsrw successfully started

View File

@@ -0,0 +1,2 @@
rwfs-fsrw
rwfs-loopback

View File

@@ -0,0 +1,17 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
s6-envdir /etc/s6/env/s6-conf
import -D "" IPTABLES
import -D "" IP6TABLES
foreground {
if { s6-test $IPTABLES = yes }
if { s6-echo -- Flushing iptables }
/usr/lib/iptables/scripts/iptables-flush
}
foreground {
if { s6-test $IP6TABLES = yes }
if { s6-echo -- Flushing ip6tables }
/usr/lib/iptables/scripts/iptables-flush 6
}
s6-true

View File

@@ -0,0 +1,22 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
if { s6-echo -- rwfs-iptables started }
s6-envdir /etc/s6/env/s6-conf
import -D "" IPTABLES
import -D "" IP6TABLES
foreground {
if { s6-test $IPTABLES = yes }
if { s6-test -e /etc/iptables/iptables.rules }
if { s6-echo -- Activing iptables }
if { iptables-restore /etc/iptables/iptables.rules }
s6-echo -- Iptables actived
}
foreground {
if { s6-test $IP6TABLES = yes }
if { s6-test -e /etc/iptables/ip6tables.rules }
if { s6-echo -- Activing ip6tables }
ip6tables-restore /etc/iptables/ip6tables.rules
s6-echo -- Ip6tables actived
}
s6-echo -- rwfs-iptables successfully started

View File

@@ -0,0 +1,8 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
if { s6-echo -- rwfs-localtime started }
s6-envdir /etc/s6/env/s6-conf
import -D "" TZ
if { s6-ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime }
s6-echo -- rwfs-localtime successfully started

View File

@@ -0,0 +1,6 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
if { s6-echo -- rwfs-loopback started }
if { ip link set up dev lo }
s6-echo -- rwfs-loopback successfully started

View File

@@ -0,0 +1,6 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
if { s6-echo -- rwfs-nonetwork started }
if { mount -a -t "nosysfs,nonfs,nonfs4,nosmbfs,nocifs" -O no_netdev }
s6-echo -- rwfs-nonetwork successfully started

View File

@@ -0,0 +1 @@
oneshot

View File

@@ -1,7 +1,7 @@
#!/usr/local/bin/execlineb -P #!/usr/local/bin/execlineb -P
fdmove -c 2 1 fdmove -c 2 1
if { s6-echo -- rwfs-random started }
foreground { foreground {
cp /var/lib/random-seed /dev/urandom cp /var/lib/random-seed /dev/urandom
} }
@@ -20,4 +20,5 @@ if -t {
umask 077 umask 077
redirfd -w 1 /dev/null redirfd -w 1 /dev/null
dd if=/dev/urandom of=/var/lib/random-seed count=1 bs=$bytes if { dd if=/dev/urandom of=/var/lib/random-seed count=1 bs=$bytes }
s6-echo -- rwfs-random successfully started

View File

@@ -0,0 +1 @@
rwfs-dmesglog

View File

@@ -0,0 +1 @@
oneshot

View File

@@ -0,0 +1,7 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
s6-envdir /etc/s6/env/s6-conf
importas -D "" S6LOCAL S6LOCAL
ifelse -X { s6-test $S6LOCAL = yes }
{ exec -c /etc/s6/data/scripts/s6.local }
s6-echo -- s6.local desactived

View File

@@ -0,0 +1 @@
all-Boot

View File

@@ -0,0 +1 @@
oneshot

View File

@@ -0,0 +1,7 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
if { s6-echo -- start switch-presvscan }
if { s6-mkdir -p -m 0755 /run/user/service }
forbacktickx -p -0 serv { s6-ls -0 /etc/s6-serv/enabled/classic }
importas -u serv serv
s6-ln -s -- /etc/s6-serv/enabled/classic/${serv} /run/user/service

View File

@@ -0,0 +1 @@
switch-ready

View File

@@ -1,3 +1,3 @@
#!/usr/local/bin/execlineb -P #!/usr/local/bin/execlineb -P
fdmove -c 2 1 fdmove -c 2 1
dhcpcd -B s6-svscan -t0 /run/user/service

View File

@@ -0,0 +1,2 @@
switch-ready
switch-svscan

View File

@@ -0,0 +1,2 @@
#!/usr/local/bin/execlineb -P
s6-rc -l /run/user-rc -da change

View File

@@ -0,0 +1 @@
oneshot

View File

@@ -0,0 +1,6 @@
#!/usr/local/bin/execlineb -P
fdmove -c 2 1
if { s6-echo -- switch-user started }
if { s6-rc-init -c /etc/s6-serv/enabled/rc/compiled/current -l /run/user-rc /run/user/service }
if { s6-rc -l /run/user-rc -u change All }
s6-echo -- switch-user successfully started

View File

@@ -1,5 +1,6 @@
#!/usr/local/bin/execlineb -P #!/usr/local/bin/execlineb -P
fdmove -c 2 1 fdmove -c 2 1
if { s6-echo -- udevd-udev started }
exec -c exec -c
udevd udevd

View File

@@ -1,4 +1,5 @@
#!/usr/local/bin/execlineb -P #!/usr/local/bin/execlineb -P
fdmove -c 2 1 fdmove -c 2 1
if { s6-echo -- udevd-udevadm started }
s6-devd s6-devd
/usr/bin/udevadm settle /usr/bin/udevadm settle

View File

@@ -0,0 +1 @@
oneshot

View File

@@ -1,6 +1,8 @@
#!/usr/local/bin/execlineb -P #!/usr/local/bin/execlineb -P
fdmove -c 2 1 fdmove -c 2 1
if { s6-echo -- udevd-udevrules started }
foreground { foreground {
if { udevadm trigger --action=add --type=subsystems } if { udevadm trigger --action=add --type=subsystems }
udevadm trigger --action=add --type=devices udevadm trigger --action=add --type=devices
} }
s6-echo -- udevd-udevrules successfully started

View File

@@ -0,0 +1,4 @@
#!/usr/local/bin/execlineb -P
foreground { /etc/s6/stage2.tini }
s6-svscanctl -h -- /run/boot/service

Some files were not shown because too many files have changed in this diff Show More