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

first install procedure

This commit is contained in:
dbarzin 2022-06-28 22:49:48 +02:00
parent 650bfbc5b5
commit 850e2dcbbd
2 changed files with 110 additions and 6 deletions

View file

@ -106,16 +106,16 @@ Homepage
convert -resize 1920x1080 -background black -gravity center -extent 1920x1080 image1.png bgra:/dev/fb0
AutoLogin
---------
AutoStart on console
--------------------
sudo systemctl edit getty@tty1
cat > /etc/systemd/system/getty@tty1.service.d/override.conf
[Service]
ExecStart=
ExecStart=-/sbin/agetty -a user1 --noclear %I $TERM
Type=idle
ExecStart=-su - didier -c ./pandora-box/pandora-box.py
StandardInput=tty
StandardOutput=tty
https://wiki.archlinux.org/title/Getty#Automatic_login_to_virtual_console
@ -131,3 +131,10 @@ mkdir /var/quarantine
chmod 0777 /var/quarantine
Move to pandora-box folder
---------------------------
abspath = os.path.abspath(__file__)
dname = os.path.dirname(abspath)
os.chdir(dname)