mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
samba3: create directories in start script.
was done in preinit before.
This commit is contained in:
parent
336c2b2aa2
commit
7b1a960d5b
1 changed files with 8 additions and 0 deletions
|
|
@ -147,7 +147,15 @@ smb_add_share() {
|
|||
[ -n "$browseable" ] && echo -e "\tbrowseable = $browseable" >> /var/etc/smb.conf
|
||||
}
|
||||
|
||||
|
||||
# this was done in lib/brcmref.sh and run from preinit. Is it still needed or can it be removed ??
|
||||
create_dirs() {
|
||||
mkdir -p /var/samba /var/samba/share /var/samba/homes /var/samba/private /var/samba/locks
|
||||
}
|
||||
|
||||
|
||||
start_service() {
|
||||
create_dirs
|
||||
config_load samba
|
||||
purgepasswd
|
||||
config_foreach useradd sambausers
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue