mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-08-05 13:55:21 +02:00
work on exfat
This commit is contained in:
parent
06085a6368
commit
db271085e0
2 changed files with 12 additions and 9 deletions
11
install.sh
11
install.sh
|
@ -180,12 +180,15 @@ echo '0 20 * * * /sbin/poweroff' >> /etc/crontab
|
|||
#---------------------
|
||||
cd /home/$SUDO_USER/pandora-box
|
||||
|
||||
# FIM, pmount, psmisc (for killall) and vim
|
||||
# FIM, psmisc (for killall) and vim
|
||||
apt --fix-broken install -y
|
||||
apt install -y fim pmount psmisc vim
|
||||
apt install -y fim psmisc vim
|
||||
|
||||
# Add user in plugdev group to allow pmount
|
||||
usermod -aG plugdev $SUDO_USER
|
||||
# Add exfat filesystem
|
||||
apt install exfat-fuse exfatprogs
|
||||
|
||||
# Allow sudo_user users to mount and umount devices
|
||||
echo "$SUDO_USER ALL=(ALL) NOPASSWD: /bin/mount, /bin/umount" > /etc/sudoers.d/usbmount
|
||||
|
||||
# Python libraries
|
||||
su - $SUDO_USER -c "./.local/bin/pip install pypandora psutil pyudev"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue