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