summarylogtreecommitdiffstats
path: root/boot-mirror.sh
diff options
context:
space:
mode:
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