mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 05:19:40 +02:00
fix autostart
This commit is contained in:
parent
9e411d8a68
commit
f693c8a263
1 changed files with 2 additions and 2 deletions
|
@ -197,11 +197,11 @@ echo "mesg n" >> /home/$SUDO_USER/.profile
|
|||
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 "ExecStart=-/sbin/agetty --autologin pandora --noclear %I $TERM" >> /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
|
||||
|
||||
# Start pandora from bashrc
|
||||
echo "pandora-box/pandora-box.py" >> ~/.bashrc
|
||||
su - $SUDO_USER -c 'echo "pandora-box/pandora-box.py" >> ~/.bashrc'
|
||||
|
||||
# Copy ini file
|
||||
cp pandora-box.ini.curses pandora-box.ini
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue