adding rsync
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user