smbshare: add firewall exception

This commit is contained in:
bain 2022-12-31 22:49:08 +01:00
parent 00cf35842f
commit 9f2d9fe9bb

View file

@ -22,4 +22,10 @@ _ch_004-configure_smbd() {
sudo systemctl reload smbd.service
}
_ch_005-allow_firewall() {
if command -v ufw &> /dev/null; then
sudo ufw allow samba;
fi;
}
_run_checkpoints;