]> gitweb.fluxo.info Git - hydra.git/commitdiff
New/renamed actions
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 26 Sep 2010 02:37:23 +0000 (23:37 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 26 Sep 2010 02:37:23 +0000 (23:37 -0300)
hydra
lib/functions [deleted file]
lib/hydra/functions [new file with mode: 0644]
lib/hydra/git [moved from lib/git with 100% similarity]
lib/hydra/misc [moved from lib/misc with 100% similarity]
lib/hydra/tmpfile [moved from lib/tmpfile with 100% similarity]
share/hydra/deploy [new file with mode: 0755]
share/hydra/nodes [new file with mode: 0755]
share/hydractl/ms-mailkey [new file with mode: 0755]
share/hydractl/provision [moved from share/hydractl/install with 100% similarity]

diff --git a/hydra b/hydra
index 489c41271bb197130f3309e84f859ed993032129..a7478301f0b660647a40a92dbc4eca1d019d6289 100755 (executable)
--- a/hydra
+++ b/hydra
@@ -46,7 +46,7 @@ function hydra_load {
   fi
 
   export ACTIONS="$APP_BASE/share/$BASENAME"
-  source $APP_BASE/lib/functions || exit 1
+  source $APP_BASE/lib/hydra/functions || exit 1
 }
 
 # Command-line parameters
diff --git a/lib/functions b/lib/functions
deleted file mode 100644 (file)
index 473ea9e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-#
-# Common functions.
-#
-
-# Setup environment
-hydra_set_env $*
-source $APP_BASE/lib/git
-source $APP_BASE/lib/misc
-source $APP_BASE/lib/tmpfile
diff --git a/lib/hydra/functions b/lib/hydra/functions
new file mode 100644 (file)
index 0000000..ad5861e
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+#
+# Common functions.
+#
+
+# Setup environment
+hydra_set_env $*
+source $APP_BASE/lib/hydra/git
+source $APP_BASE/lib/hydra/misc
+source $APP_BASE/lib/hydra/tmpfile
similarity index 100%
rename from lib/git
rename to lib/hydra/git
similarity index 100%
rename from lib/misc
rename to lib/hydra/misc
similarity index 100%
rename from lib/tmpfile
rename to lib/hydra/tmpfile
diff --git a/share/hydra/deploy b/share/hydra/deploy
new file mode 100755 (executable)
index 0000000..a9bf588
--- /dev/null
@@ -0,0 +1 @@
+#!/bin/bash
diff --git a/share/hydra/nodes b/share/hydra/nodes
new file mode 100755 (executable)
index 0000000..93593e1
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/bash
+#
+# Node tool.
+#
diff --git a/share/hydractl/ms-mailkey b/share/hydractl/ms-mailkey
new file mode 100755 (executable)
index 0000000..f4abb6e
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/bash
+# Email monkeysphere key