1
0
Fork 0
mirror of https://gitlab.com/niansa/simpsh-httpd.git synced 2025-03-06 20:53:36 +01:00

Update mkpackage.sh

This commit is contained in:
niansa 2017-12-26 12:07:59 +01:00 committed by GitHub
parent fcac6f6e6d
commit aa8a063dba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,6 @@ echo "Bitte warten... Please wait..."
mkdir "$2"
cd "$2"
mkdir etc
mkdir etc/init.d
mkdir etc/simpsh-httpd
mkdir usr
mkdir usr/bin
@ -12,7 +11,6 @@ echo 'cd /usr/share/simpsh-httpd
./main.sh' > usr/bin/simpsh-httpd
echo 'cd /usr/share/simpsh-httpd/
./start-socat.sh $@' > usr/bin/simpsh-httpd-socat
mv usr/share/simpsh-httpd/simpsh-httpd.service etc/init.d/simpsh-httpd.sh
mv usr/share/simpsh-httpd/config.sh etc/simpsh-httpd
ln -sf /etc/simpsh-httpd/config.sh usr/share/simpsh-httpd/config.sh
chmod -R a+x .