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:
parent
3290856483
commit
409f72d685
3 changed files with 8 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
[share]
|
||||
comment = share (D)
|
||||
comment = share
|
||||
read only = no
|
||||
path = /home/yunohost.app/samba/share
|
||||
guest ok = no
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue