1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-16 03:42:44 +03:00
tiny-cloud/etc/init.d/tiny-cloud-early
2022-01-02 15:09:21 -08:00

20 lines
309 B
Bash

#!/sbin/openrc-run
# vim:set ft=sh noet ts=4:
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 $?
# TODO: _setup mdev things, if applicable
}