aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-10-02 17:12:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-10-02 17:12:33 -0300
commit70d59e46199414f1ddafe495b1eadee8276fefde (patch)
treeddee9fdb8db1109e3119f2356b10ce3130ad2252
parent599d3625ebf95ba47ef298f5960f321cabe24401 (diff)
downloadhydra-70d59e46199414f1ddafe495b1eadee8276fefde.tar.gz
hydra-70d59e46199414f1ddafe495b1eadee8276fefde.tar.bz2
Updates share
-rw-r--r--doc/todo.rst1
-rwxr-xr-xshare/hydractl/mount-media1
-rwxr-xr-xshare/hydractl/sync-media2
3 files changed, 3 insertions, 1 deletions
diff --git a/doc/todo.rst b/doc/todo.rst
index 28fed93..3f538a1 100644
--- a/doc/todo.rst
+++ b/doc/todo.rst
@@ -1,6 +1,7 @@
TODO
====
+- sync-media: proper initialization for new machines.
- mount-media: lvm support.
- import-certs:
- concat.pem.
diff --git a/share/hydractl/mount-media b/share/hydractl/mount-media
index 0073292..f6e3642 100755
--- a/share/hydractl/mount-media
+++ b/share/hydractl/mount-media
@@ -21,6 +21,7 @@ if [ -z "$VOLUME" ]; then
VOLUME="sdb1"
fi
+# Disk config
DISK="`echo ${VOLUME} | sed -e s/[0-9]\$//g`"
# Set sudo config
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media
index d610245..31e5fcd 100755
--- a/share/hydractl/sync-media
+++ b/share/hydractl/sync-media
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# sync-media assets using git-annex
+# sync-media assets using git-annex or rsync
#
REMOTE="$1"