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 +++++++++++ retiolum/scripts/tinc_setup/bootstrap.sh | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 boot/painload.sh delete mode 100644 retiolum/scripts/tinc_setup/bootstrap.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" diff --git a/retiolum/scripts/tinc_setup/bootstrap.sh b/retiolum/scripts/tinc_setup/bootstrap.sh deleted file mode 100644 index 32919e7d..00000000 --- a/retiolum/scripts/tinc_setup/bootstrap.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" -- cgit v1.2.3