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 1d2618dfd0 * imds is now an executable script
* numerous imds script enhancements, including -h/--help
* check imds for secondary ipv4 & ipvs via ifupdown-ng executor
* simplify shell source to things /etc/conf.d/ and /lib/tiny-cloud/
* move log function to /lib/tiny-cloud/common
2022-01-24 19:07:35 -08: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
}