It would be easier to install the luci-app-samba package.
This adds LuCI → Services → Network Shares to the GUI, where you can just add /data directly to Shared Directories.
It would be easier to install the luci-app-samba package.
This adds LuCI → Services → Network Shares to the GUI, where you can just add /data directly to Shared Directories.