Gestion des ouvertures de ports
This commit is contained in:
12
posttemplate/02-smb_partages
Executable file
12
posttemplate/02-smb_partages
Executable 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
|
Reference in New Issue
Block a user