eole-smb/posttemplate/02-smb_partages

14 lines
259 B
Plaintext
Raw Normal View History

2021-06-18 09:06:24 +02:00
#!/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
2021-06-18 10:01:15 +02:00
chmod o+ws $path
2021-06-18 09:06:24 +02:00
fi
done
fi
exit 0