Gestion des ouvertures de ports

This commit is contained in:
2021-06-18 09:06:24 +02:00
parent ef56c63c85
commit 2cb0ff1e1f
2 changed files with 32 additions and 5 deletions

12
posttemplate/02-smb_partages Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
# partages multiples
if [ "$(CreoleGet use_smb_share non)" = "oui" ]; then
for path in $(CreoleGet smb_share_path); do
if [ ! -d $path ]; then
/bin/mkdir -p $path
chmod g+ws $path
fi
done
fi
exit 0