From f4ab95b840c64a1a116497ca6805f4a2b8b51447 Mon Sep 17 00:00:00 2001 From: Didier Barzin Date: Sun, 5 Mar 2023 16:54:41 +0100 Subject: [PATCH] Update install.sh --- install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 06db60f..286c376 100755 --- a/install.sh +++ b/install.sh @@ -227,7 +227,7 @@ systemctl daemon-reload systemctl enable pandora # Do not print messages on console -echo "mesg n" >> /home/$SUDO_USER/.profile +echo "mesg n" >> /home/$SUDO_USER/.bashrc # Start Pandora-box on getty1 at boot mkdir -p /etc/systemd/system/getty@tty1.service.d @@ -237,12 +237,11 @@ echo "ExecStart=-/sbin/agetty --autologin pandora --noclear %I $TERM" >> /etc/sy # echo "ExecStart=-su - pandora -c ./pandora-box/pandora-box.py" >> /etc/systemd/system/getty@tty1.service.d/override.conf # Start pandora from bashrc -su - $SUDO_USER -c 'echo "export PATH=\"\$HOME/.local/bin:{\$PATH}\""' >> ~/.bashrc -su - $SUDO_USER -c 'echo "pandora-box/pandora-box.py" >> ~/.bashrc' +echo "export PATH=\"\$HOME/.local/bin:{\$PATH}\"" >> /home/$SUDO_USER/.bashrc +echo "pandora-box/pandora-box.py" >> /home/$SUDO_USER/.bashrc # Copy ini file cp pandora-box.ini.curses pandora-box.ini # Reboot echo "You may reboot the server." -