Fixing ownership of mount directory.

This commit is contained in:
Roland 2022-01-15 20:00:36 -07:00
parent fac3a8eba8
commit c00bc98755
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -94,6 +94,7 @@ cp /opt/wrolpi/50x.html /var/www/50x.html
# Create the media directory. This should be mounted by the maintainer.
[ -d /media/wrolpi ] || mkdir /media/wrolpi
chown -R wrolpi:wrolpi /media/wrolpi
# Create the WROLPi user
grep wrolpi /etc/passwd || useradd -d /opt/wrolpi wrolpi -s "$(command -v bash)"