adding rsync

This commit is contained in:
Jérémie SALVI
2024-09-26 12:41:22 +02:00
parent f8815418dc
commit d37c44babf

View File

@@ -104,6 +104,10 @@ printf "cryptdevice=UUID=%s:rootfs root=UUID=%s rootflags=subvol=@ rw initrd=\\i
"$(blkid --match-token LABEL=root -s UUID -o value)" \ "$(blkid --match-token LABEL=root -s UUID -o value)" \
"$(_kernel_colors)" "$(_kernel_colors)"
### Rsync
[[ "$_LOCATION" == "home" ]] && rsync -av /etc /data/
[[ "$_LOCATION" == "home" ]] && rsync -av /root /data/
### Wait for user ### Wait for user
_info "Update sucessfull" _info "Update sucessfull"
read -r read -r