smbshare: add firewall exception
This commit is contained in:
parent
00cf35842f
commit
9f2d9fe9bb
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue