diff options
author | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-05-14 22:52:09 +0200 |
---|---|---|
committer | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-05-14 22:52:09 +0200 |
commit | 05518f5ee61f1d97a2829f47b13a01f7806ce47f (patch) | |
tree | 476ad373d10c0c96ef016a7db2f1546a4cb514dc /hosts/.scripts | |
parent | dc42059c52e8fd422b6005e38e1a2284ed15d834 (diff) |
added bootstrap script
use the bootstrap code with:
curl https://github.com/miefda/retiolum/raw/master/.scripts/bootstrap.sh | sh
Diffstat (limited to 'hosts/.scripts')
-rw-r--r-- | hosts/.scripts/bootstrap.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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" |