]>
code.delx.au - monosys/blob - scripts/sync-boot-mirror
3ab7d56f8d288967d2da9caacf06fd0860b69471
5 rsync
-a --exclude=lost
+found
--delete /boot
/ /boot-mirror
/
8 eval $
(grep "$1 " /etc
/fstab | cut
-d ' ' -f1)
12 # Replace UUIDs so it can actually boot!
13 sed -i "s/$(get_uuid /boot)/$(get_uuid /boot-mirror)/g" \
14 $
(find /boot-mirror
/grub
/ -name '*.cfg')