mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
Create mkpackage.sh
This commit is contained in:
parent
d3690881ff
commit
8f800ef61e
1 changed files with 17 additions and 0 deletions
17
mkpackage.sh
Normal file
17
mkpackage.sh
Normal file
|
@ -0,0 +1,17 @@
|
|||
echo "Bitte warten... Please wait..."
|
||||
mkdir package
|
||||
cd package
|
||||
mkdir etc
|
||||
mkdir etc/simpsh-httpd
|
||||
mkdir usr
|
||||
mkdir usr/bin
|
||||
mkdir usr/share
|
||||
cp -r "$1" usr/share/simpsh-httpd
|
||||
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/config.sh etc/simpsh-httpd
|
||||
ln -sf etc/simpsh-httpd/config.sh usr/share/simpsh-httpd/config.sh
|
||||
chmod -R +x .
|
||||
echo "Fertig! Done!"
|
Loading…
Add table
Reference in a new issue