Skip to content

Commit

Permalink
Add missing script for user fix add
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Oct 24, 2022
1 parent 4f5a43d commit f78641a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/scripts/90-install-user-fix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
set -x
set -e

export LC_ALL=C

source /common.sh
install_cleanup_trap

# we need to install virtualenv-tools3, so let's get pip and that
apt install -y python3-pip
sudo -u pi pip3 install --user virtualenv-tools3

cp /files/user-fix /root/bin/user-fix
chmod +x /root/bin/user-fix

cp /files/user-fix.service /etc/systemd/system/user-fix.service
systemctl enable user-fix.service

0 comments on commit f78641a

Please sign in to comment.