mirror of
https://github.com/marcone/teslausb.git
synced 2025-04-12 16:33:49 +00:00
Create /mutable/TeslaCam at setup time
/mutable/TeslaCam is the source for the fuse mount on /var/www/html/TeslaCam used by the web interface, so make sure it exists.
This commit is contained in:
parent
51ee9e9353
commit
b6b5d525e5
@ -62,6 +62,7 @@ chmod +x /sbin/mount.ctts
|
||||
|
||||
sed -i '/mount.ctts/d' /etc/fstab
|
||||
echo "mount.ctts#/mutable/TeslaCam /var/www/html/TeslaCam fuse defaults,nofail,x-systemd.requires=/mutable 0 0" >> /etc/fstab
|
||||
mkdir -p /mutable/TeslaCam
|
||||
|
||||
sed -i 's/#user_allow_other/user_allow_other/' /etc/fuse.conf
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user