persistent changes
This commit is contained in:
+11
-11
@@ -26,25 +26,25 @@ init_devs
|
||||
init_aufs
|
||||
init_zram
|
||||
|
||||
init_union "$CHANGES" "$UNION"
|
||||
|
||||
# find data dir with filesystem bundles
|
||||
DATA="$(find_data 60 "$DATAMNT")"
|
||||
|
||||
debug_shell
|
||||
# setup persistent changes, if possible
|
||||
persistent_changes "$DATA" "$CHANGES"
|
||||
debug_shell
|
||||
# copy to RAM if needed
|
||||
DATA="$(copy_to_ram "$DATA")"
|
||||
|
||||
debug_shell
|
||||
|
||||
DATA="$(copy_to_ram "$DATA" "$CHANGES")"
|
||||
debug_shell
|
||||
# init aufs union
|
||||
init_union "$CHANGES" "$UNION"
|
||||
debug_shell
|
||||
# add data to union
|
||||
union_append_bundles "$DATA" "$BUNDLES" "$UNION"
|
||||
|
||||
debug_shell
|
||||
# create empty fstab
|
||||
fstab_create "$UNION"
|
||||
|
||||
debug_shell
|
||||
header "Live Kit done, starting $LIVEKITNAME"
|
||||
|
||||
debug_shell
|
||||
change_root "$UNION"
|
||||
|
||||
header "!!ERROR occured, you shouldn't be here.!!"
|
||||
|
||||
Reference in New Issue
Block a user