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/painload.sh') 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 From b298094174d3e06045c98bff441206a806896cfb Mon Sep 17 00:00:00 2001 From: EUcancER Date: Thu, 27 Dec 2012 19:05:55 +0100 Subject: fix new installer, tested with debian install --- boot/painload.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) mode change 100644 => 120000 boot/painload.sh (limited to 'boot/painload.sh') diff --git a/boot/painload.sh b/boot/painload.sh deleted file mode 100644 index 32919e7d..00000000 --- a/boot/painload.sh +++ /dev/null @@ -1,11 +0,0 @@ -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" diff --git a/boot/painload.sh b/boot/painload.sh new file mode 120000 index 00000000..1ee91d92 --- /dev/null +++ b/boot/painload.sh @@ -0,0 +1 @@ +../infest/bootstrap.sh \ No newline at end of file -- cgit v1.2.3