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