- Change the
uservariable inautomount.shto the user running the photobooth application - Copy
automount.shto /usr/local/bin - Copy
automount@.serviceto /etc/systemd/system - Copy
99-automount.rulesto /etc/udev/rules.d - Reload configurations
sudo systemctl daemon-reload
sudo udevadm control --reload-rules