summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bootstrap.sh1
-rw-r--r--modules/retiolum/Makefile8
2 files changed, 9 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 433235e9..c434a4fe 100644
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -5,6 +5,7 @@ set -x
[ -e '/usr/bin/git' ] || \
apt-get install -y git-core || \
yum install git || \
+opkg install git || \
pacman -Sy git || \
{ echo "please install git!"; exit 1;} || exit 1
diff --git a/modules/retiolum/Makefile b/modules/retiolum/Makefile
new file mode 100644
index 00000000..9bda5dfc
--- /dev/null
+++ b/modules/retiolum/Makefile
@@ -0,0 +1,8 @@
+all:
+ mkdir -p /etc/tinc/retiolum
+ git clone git://github.com/miefda/retiolum.git /etc/tinc/retiolum/hosts
+ echo cd /etc/tinc/retiolum/hosts/.scripts
+ echo "choose the right build script from here"
+update:
+ cd /etc/tinc/retiolum/hosts
+ git pull origin master