summaryrefslogtreecommitdiffstats
path: root/boot/painload.sh
blob: 32919e7d7612af904bec0c660fb1af73cd1a00b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
if [ ! `id -u` -eq "0" ] 
then
  echo "not root, trying sudo"
  exec sudo "$0" "$@"
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"