mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-15 19:32:44 +03:00
24 lines
365 B
Bash
Executable File
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
|
|
} |