mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Fixing ownership of mount directory.
This commit is contained in:
parent
fac3a8eba8
commit
c00bc98755
1 changed files with 1 additions and 0 deletions
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue