Last active
May 30, 2020 09:02
-
-
Save teuteuguy/0c1ac2f33ba4af5403f2dffc1263cecc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [[ $(/usr/bin/id -u) -ne 0 ]]; then | |
| echo "You must sudo this script" | |
| exit | |
| fi | |
| apt-get update | |
| apt-get upgrade -y | |
| apt-get install -y exfat-fuse exfat-utils | |
| mkdir /media/exfat | |
| echo >> /etc/fstab | |
| # echo /dev/sda2 /media/exfat exfat defaults,user,nofail 0 2 >> /etc/fstab | |
| echo /dev/sda2 /media/exfat exfat defaults,auto,users,rw,nofail 0 0 >> /etc/fstab | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment