summaryrefslogtreecommitdiff
path: root/stage3/prerun.sh
diff options
context:
space:
mode:
Diffstat (limited to 'stage3/prerun.sh')
-rwxr-xr-xstage3/prerun.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/stage3/prerun.sh b/stage3/prerun.sh
new file mode 100755
index 0000000..a5ea5f4
--- /dev/null
+++ b/stage3/prerun.sh
@@ -0,0 +1,4 @@
+#!/bin/bash -e
+if [ ! -d ${ROOTFS_DIR} ]; then
+ copy_previous
+fi