From 05518f5ee61f1d97a2829f47b13a01f7806ce47f Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Sat, 14 May 2011 22:52:09 +0200 Subject: added bootstrap script use the bootstrap code with: curl https://github.com/miefda/retiolum/raw/master/.scripts/bootstrap.sh | sh --- hosts/.scripts/bootstrap.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 hosts/.scripts/bootstrap.sh (limited to 'hosts') diff --git a/hosts/.scripts/bootstrap.sh b/hosts/.scripts/bootstrap.sh new file mode 100644 index 00000000..50356ac1 --- /dev/null +++ b/hosts/.scripts/bootstrap.sh @@ -0,0 +1,11 @@ +if [ `id -u` -eq "0" ] +then + echo "not root, bailing out" + exit 1 +fi + +mkdir -p /etc/tinc/retiolum/ +git clone git://github.com/miefda/retiolum.git /etc/tinc/retiolum/hosts +cd /etc/tinc/retiolum/hosts/.scripts + +echo "use the build script of your choice from /etc/tinc/retiolum/hosts/.scripts" -- cgit v1.2.3