diff --git a/scripts/update.sh b/scripts/update.sh index bc39587..7ba9542 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -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)" \ "$(_kernel_colors)" +### Rsync +[[ "$_LOCATION" == "home" ]] && rsync -av /etc /data/ +[[ "$_LOCATION" == "home" ]] && rsync -av /root /data/ + ### Wait for user _info "Update sucessfull" read -r