From 7ece67c269dc88453b2cd41ad9e52068b1d9d009 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 --- .scripts/bootstrap.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .scripts/bootstrap.sh (limited to '.scripts') diff --git a/.scripts/bootstrap.sh b/.scripts/bootstrap.sh new file mode 100644 index 00000000..50356ac1 --- /dev/null +++ b/.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