Merge branch 'master' of https://github.com/simono41/shellinabox
This commit is contained in:
commit
15de28e37b
1 changed files with 7 additions and 5 deletions
12
auto.sh
Normal file → Executable file
12
auto.sh
Normal file → Executable file
|
@ -1,20 +1,22 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
if [[ $EUID -ne 0 ]]; then
|
if [[ $EUID -ne 0 ]]; then
|
||||||
echo "This script must be run as root" 1>&2
|
echo "This script must be run as root" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "Als root Angemeldet"
|
echo "Als root Angemeldet"
|
||||||
|
|
||||||
apt-get install git libssl-dev libpam0g-dev zlib1g-dev dh-autoreconf
|
apt-get install git libssl-dev libpam0g-dev zlib1g-dev dh-autoreconf
|
||||||
|
|
||||||
pacman -S git openssl autoconf automake make gcc
|
pacman -S git openssl autoconf automake make gcc
|
||||||
|
|
||||||
sleep 5
|
|
||||||
|
|
||||||
cd /opt/
|
cd /opt/
|
||||||
|
|
||||||
git clone https://github.com/simono41/shellinabox.git && cd shellinabox
|
git clone https://github.com/simono41/shellinabox.git
|
||||||
|
|
||||||
|
cd shellinabox
|
||||||
|
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
|
|
||||||
|
@ -45,4 +47,4 @@ webssh
|
||||||
webssh
|
webssh
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
systemctl start shellinabox.service
|
systemctl start shellinabox.service &
|
||||||
|
|
Loading…
Reference in a new issue