1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-15 11:22:43 +03:00
tiny-cloud/etc/init.d/tiny-cloud-early
Jake Buchholz Göktürk 8ffdca9786 Introducing Tiny Cloud!
2022-01-29 22:27:34 +00:00

24 lines
365 B
Bash
Executable File

#!/sbin/openrc-run
# vim:set ts=8 noet ft=sh:
description="Tiny Cloud Bootstrap - early phase"
depend() {
before mdev
}
start() {
source /lib/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
}