1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-16 03:42:44 +03:00

Add "net" phase to tiny-cloud --setup

This commit is contained in:
Jake Buchholz Göktürk 2023-05-10 19:24:31 +00:00
parent fa3125f0a5
commit 13b0eef9fe

View File

@ -43,10 +43,11 @@ while true; do
printf ' bootstrap marked "%s"\n' "$1" >&2 printf ' bootstrap marked "%s"\n' "$1" >&2
exit 0;; exit 0;;
-s|--setup) # just openrc for now -s|--setup) # just openrc for now
for phase in -early '' -final; do for phase in -early -net '' -final; do
rc-update -a del "tiny-cloud$phase" || true rc-update -a del "tiny-cloud$phase" || true
done done
rc-update add tiny-cloud-early boot rc-update add tiny-cloud-early boot
rc-update add tiny-cloud-net default
rc-update add tiny-cloud default rc-update add tiny-cloud default
rc-update add tiny-cloud-final default rc-update add tiny-cloud-final default
exit 0;; exit 0;;