Merge pull request #2 from xentral-erp-software-gmbh/adapterbox-files

added old files for adapterbox
This commit is contained in:
Daniel Dakhno 2021-03-02 13:09:57 +01:00 committed by GitHub
commit adff72af78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

Binary file not shown.

10
adapterbox/install.sh Normal file
View File

@ -0,0 +1,10 @@
sudo apt-get --yes install libcurl3 php7.0-curl php7.0-cli php7.0-xml
sudo usermod -a -G lpadmin pi
sudo systemctl enable ssh
wget http://www.wawision.de/adapterbox.deb
sudo dpkg -i adapterbox.deb
echo "Seriennummer eingeben gefolgt von einem [ENTER]:"
read seriennummer
echo "<?php \$config['serial'] = '$seriennummer'; ?>" > /tmp/config.php
sudo mv /tmp/config.php /root/config.php
sudo halt