eole-smb/posttemplate/02-smb_partages

14 lines
259 B
Bash
Executable File

#!/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
chmod o+ws $path
fi
done
fi
exit 0