1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/samba_ynh.git synced 2024-09-03 20:16:27 +02:00

Shared -> share

This commit is contained in:
ljf 2022-02-27 15:19:59 +01:00
parent 3290856483
commit 409f72d685
3 changed files with 8 additions and 3 deletions

View file

@ -1,5 +1,5 @@
[share]
comment = share (D)
comment = share
read only = no
path = /home/yunohost.app/samba/share
guest ok = no

View file

@ -1,3 +1,8 @@
# =================================================
# DO NOT EDIT THIS FILE
# EDIT SUBPARTS IN /etc/samba/smb.conf.d
# =================================================
[global]
log file = /var/log/samba/log.%m
@ -27,7 +32,7 @@
valid users = %S
[share]
comment = share (D)
comment = share
read only = no
path = /home/yunohost.app/samba/share
guest ok = no

View file

@ -73,7 +73,7 @@ ynh_script_progression --message="Adding a configuration file..." --time --weigh
mkdir -p /etc/samba/smb.conf.d
ynh_add_config --template="global-smb.conf" --destination="/etc/samba/smb.conf.d/0-global.conf"
ynh_add_config --template="shared-smb.conf" --destination="/etc/samba/smb.conf.d/shared.conf"
ynh_add_config --template="shared-smb.conf" --destination="/etc/samba/smb.conf.d/share.conf"
cat /etc/samba/smb.conf.d/*.conf > /etc/samba/smb.conf