1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-08-06 22:35:24 +02:00

after first test

This commit is contained in:
dbarzin 2022-07-04 20:24:06 +02:00
parent 411fbf11dd
commit f7921b097b
2 changed files with 70 additions and 31 deletions

View file

@ -4,6 +4,30 @@ Pandora-BOX
Pandorabox is a USB scaning station base on Pandora
Install
-------
Install Ubuntu 22.04 server LTS
select (x) Ubuntu Server (minumized)
Choose to install OpenSSH server
That's all, no other packages needed
After reboot, login with the user create during the install and type :
sudo apt install git
git clone https://github.com/dbarzin/pandora-box
cd pandora-box
sudo ./install.sh
=========================================================================
Mouse terminal
---------------
@ -109,14 +133,15 @@ convert -resize 1920x1080 -background black -gravity center -extent 1920x1080 im
AutoStart on console
--------------------
cat > /etc/systemd/system/getty@tty1.service.d/override.conf
mkdir -p /etc/systemd/system/getty@tty1.service.d
echo "[Service]" > /etc/systemd/system/getty@tty1.service.d/override.conf
echo "ExecStart=" >> /etc/systemd/system/getty@tty1.service.d/override.conf
echo "ExecStart=-su - pandora -c ./pandora-box/pandora-box.py" >> /etc/systemd/system/getty@tty1.service.d/override.conf
echo "StandardInput=tty" >> /etc/systemd/system/getty@tty1.service.d/override.conf
echo "StandardOutput=tty" >> /etc/systemd/system/getty@tty1.service.d/override.conf
echo "Type=idle" >> /etc/systemd/system/getty@tty1.service.d/override.conf
[Service]
ExecStart=
ExecStart=-su - didier -c ./pandora-box/pandora-box.py
StandardInput=tty
StandardOutput=tty
Type=idle
Restert getty1