summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrebs <krebs@UTART>2011-05-24 21:25:08 +0200
committerkrebs <krebs@UTART>2011-05-24 21:25:08 +0200
commit405829cd0021cf32f04a499b65a4c1358dfd7604 (patch)
tree7f81ad136029f1140e36c04789980f606f3bd277
parent7e58b11f8a4045088afaafff82ef154fd060fa4d (diff)
parentf7e9589f5ecf0a56ff8f0afbc0f915005ba829e2 (diff)
Merge branch 'master' of github.com:krebscode/painload
-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