added old files for adapterbox

This commit is contained in:
Daniel Dakhno 2021-02-09 12:00:42 +01:00
parent e7b3602e92
commit 7014090274
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