summarylogtreecommitdiffstats
path: root/boot-mirror.sh
diff options
context:
space:
mode:
authorMarc Aldorasi2016-06-18 13:56:27 -0400
committerMarc Aldorasi2016-06-18 13:56:27 -0400
commit0346be5879e673563865c60a88fb38951bb5232b (patch)
tree118e2e5a4f297a76ec8aac910afa76a13410e6d8 /boot-mirror.sh
downloadaur-boot-mirror.tar.gz
Initial commit
Diffstat (limited to 'boot-mirror.sh')
-rw-r--r--boot-mirror.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/boot-mirror.sh b/boot-mirror.sh
new file mode 100644
index 00000000000..26126793fc1
--- /dev/null
+++ b/boot-mirror.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+n=2
+while [ -d /boot$n ]; do
+ rsync -ra --delete /boot/ /boot$n/
+ n=$((n+1))
+done