diff options
| author | root <root@flap> | 2014-05-06 10:00:33 -0400 |
|---|---|---|
| committer | root <root@flap> | 2014-05-06 10:00:33 -0400 |
| commit | 4d8016064edd5e5dc1d194ea5ec0fce4f07b8f2a (patch) | |
| tree | d8ecba8651604e51d6f887449641ac627844ae63 /retiolum/scripts/tinc_setup/build_debian.sh | |
| parent | f44c8529e6d04b557d93cc862599b956ed21f0de (diff) | |
| parent | d0367082a5c1296cefed641b4eda736b29a3ad69 (diff) | |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'retiolum/scripts/tinc_setup/build_debian.sh')
| -rwxr-xr-x | retiolum/scripts/tinc_setup/build_debian.sh | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/retiolum/scripts/tinc_setup/build_debian.sh b/retiolum/scripts/tinc_setup/build_debian.sh deleted file mode 100755 index 52e61390..00000000 --- a/retiolum/scripts/tinc_setup/build_debian.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -set -x -if [ ! "$MYIP" ] -then - MYIP=10.0.7.7.55 -fi -if [ ! "$MYHOSTNAME" ] -then - MYHOSTNAME="penis" -fi - -if [ "$MYHOSTNAME" = "penis" ]; -then - read -n1 -p "name is penis, are u sure? [yN]" - if [[ "$REPLY" != [yY] ]] - then - echo "then better RTFC" - echo "bailing out" - exit 0 - fi -fi -apt-get install tinc git curl python - -./install.sh "$MYHOSTNAME" "$MYIP" - -# for autostart -sed -i '/retiolum/d' /etc/tinc/nets.boot -echo "retiolum" >> /etc/tinc/nets.boot -sed -i '/EXTRA/d' /etc/tinc/nets.boot -echo "EXTRA=\"\"" >> /etc/default/tinc - -/etc/init.d/tinc start |
