1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-14 19:02:45 +03:00
tiny-cloud/etc/init.d/tiny-cloud-early
2023-03-08 03:39:39 +00:00

27 lines
394 B
Bash
Executable File

#!/sbin/openrc-run
# vim:set ts=8 noet ft=sh:
description="Tiny Cloud Bootstrap - early phase"
: "${LIBDIR:=$PREFIX/lib}"
depend() {
before mdev
}
start() {
. "$LIBDIR"/tiny-cloud/init-early
is_bootstrapped && return 0
ebegin "Expanding Root Volume/Partition"
expand_root
eend $?
if has_cloud_hotplugs; then
ebegin "Installing Cloud Hotplugs"
install_hotplugs
eend $?
fi
}