setup-samba.sh
setup-samba.sh guides you through the process of creating a samba user and mounting an external drive as a SMB share.
This script was designed for a Raspberry Pi running Ubuntu 18.04 with an external drive attached. It was tested on a 2b and a 4.
Usage:
bash <(curl -sSL https://jrussell.io/setup-samba)