From 2e3888b44c2d8f7f5638d9824fd7f40fbeffe784 Mon Sep 17 00:00:00 2001 From: euer Date: Thu, 20 Dec 2012 02:38:25 +0100 Subject: tinc_setup/bootstrap.sh -> /boot/painload.sh --- boot/painload.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 boot/painload.sh (limited to 'boot') diff --git a/boot/painload.sh b/boot/painload.sh new file mode 100644 index 00000000..32919e7d --- /dev/null +++ b/boot/painload.sh @@ -0,0 +1,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" -- cgit v1.2.3