From 39b42fb6e4a987dde603b598322678d7ae02ab70 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 24 May 2017 11:12:16 +0000 Subject: [PATCH] fix --- auto.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) mode change 100644 => 100755 auto.sh diff --git a/auto.sh b/auto.sh old mode 100644 new mode 100755 index b1b9407..13d6667 --- a/auto.sh +++ b/auto.sh @@ -1,20 +1,22 @@ #!/bin/bash +set -x + if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" 1>&2 exit 1 fi echo "Als root Angemeldet" - + apt-get install git libssl-dev libpam0g-dev zlib1g-dev dh-autoreconf pacman -S git openssl autoconf automake make gcc -sleep 5 - cd /opt/ -git clone https://github.com/simono41/shellinabox.git && cd shellinabox +git clone https://github.com/simono41/shellinabox.git + +cd shellinabox autoreconf -i @@ -45,4 +47,4 @@ webssh webssh EOT -systemctl start shellinabox.service +systemctl start shellinabox.service &