summaryrefslogtreecommitdiffstats
path: root/.scripts/bootstrap.sh
blob: 8deddfd45db6012cc526d736265eee9b336cb8c7 (plain)
1
2
3
4
5
6
7
8
9
10
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"