commit fe1544983e1180f626452bd4d9eaa6e3bcdcdc02
parent 325d1e28c911ad644d2ed5142fbe1be61de9cea4
Author: rbckman <robinbackman@gmai.com>
Date: Wed, 8 May 2019 16:40:09 +0100
enable usb auto mount
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/install.sh b/install.sh
@@ -151,6 +151,9 @@ systemctl enable tarina.service
systemctl daemon-reload
echo "systemd configuration done!"
+echo "Enable USB HDD auto mount"
+sudo sed -i -e 's/MountFlags=slave/MountFlags=shared/g' /lib/systemd/system/systemd-udevd.service
+
echo "Installing tarina apache server configuration"
cp extras/tarina.conf /etc/apache2/sites-available/
ln -s -t /var/www/ /home/pi/tarina/srv/