git://git.onelab.eu
/
infrastructure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
no need to build separately bootcd master, this is now in *-tags.mk
[infrastructure.git]
/
scripts
/
snapshot-etc-planetlab.sh
diff --git
a/scripts/snapshot-etc-planetlab.sh
b/scripts/snapshot-etc-planetlab.sh
index
f741683
..
64f0573
100755
(executable)
--- a/
scripts/snapshot-etc-planetlab.sh
+++ b/
scripts/snapshot-etc-planetlab.sh
@@
-8,10
+8,14
@@
output=/root/etc-planetlab-snapshots/$date
[ -d $output ] && { echo "refusing to use pre-existing target dir $output" ; exit 1 ; }
-mkdir $output
+mkdir
-p
$output
tar -C /etc/planetlab -cf - . | tar -C $output -xf -
+echo "/etc/planetlab stored in $output"
+
+exit 0
+