mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-16 03:42:44 +03:00
fix: remove extra ']', removes of /] after first boot.
This commit is contained in:
parent
d15ac6bed3
commit
1e49b7f212
@ -9,7 +9,7 @@ SKIP_INIT_ACTIONS=${SKIP_INIT_ACTIONS:-}
|
|||||||
is_bootstrapped() { [ -f "$TINY_CLOUD_VAR"/.bootstrap-complete ]; }
|
is_bootstrapped() { [ -f "$TINY_CLOUD_VAR"/.bootstrap-complete ]; }
|
||||||
|
|
||||||
# indicate bootstrap is done
|
# indicate bootstrap is done
|
||||||
bootstrap_complete() { touch "$TINY_CLOUD_VAR"/.bootstrap-complete ]; }
|
bootstrap_complete() { touch "$TINY_CLOUD_VAR"/.bootstrap-complete ; }
|
||||||
|
|
||||||
# should we skip this action?
|
# should we skip this action?
|
||||||
skip_action() {
|
skip_action() {
|
||||||
@ -21,4 +21,4 @@ skip_action() {
|
|||||||
# action not in the skip list?
|
# action not in the skip list?
|
||||||
echo "$SKIP_INIT_ACTIONS" | grep -Eq "\b$action\b" || return 1
|
echo "$SKIP_INIT_ACTIONS" | grep -Eq "\b$action\b" || return 1
|
||||||
echo -n " SKIPPING"
|
echo -n " SKIPPING"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user