mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-25 00:09:40 +02:00
no sudo
This commit is contained in:
parent
13c68478fe
commit
0a8edb91f7
1 changed files with 6 additions and 6 deletions
12
install.sh
12
install.sh
|
@ -10,8 +10,8 @@ cd ~
|
|||
#---------------------
|
||||
# Python
|
||||
#---------------------
|
||||
apt update && sudo apt update -y
|
||||
apt install -y python-is-python3 python3-pip
|
||||
apt update && apt upgrade -y
|
||||
apt install -y python-is-python3 python3-pip
|
||||
apt install -y libssl-dev
|
||||
|
||||
#---------------------
|
||||
|
@ -125,10 +125,10 @@ usermod -a -G video $SUDO_USER
|
|||
usermod -a -G input $SUDO_USER
|
||||
|
||||
# Start Pandora at boot
|
||||
sudo cp pandora.service.sample /etc/systemd/system/pandora.service
|
||||
sudpo sed -i "s/_USER_/$SUDO_USER/g" /etc/systemd/system/pandora.service
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable pandora
|
||||
cp pandora.service.sample /etc/systemd/system/pandora.service
|
||||
sed -i "s/_USER_/$SUDO_USER/g" /etc/systemd/system/pandora.service
|
||||
systemctl daemon-reload
|
||||
systemctl enable pandora
|
||||
|
||||
# Start Pandora-box on getty1 at boot
|
||||
mkdir -p /etc/systemd/system/getty@tty1.service.d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue