distribution/packages/sysutils/autostart/sources/daemons/002-samba

8 lines
155 B
Text
Raw Normal View History

2022-02-05 14:23:32 +00:00
STATE=$(get_setting samba.enabled)
SVC="samba"
CONF="smb.conf"
DAEMONS=("nmbd" "smbd")
mkdir -p /run/${SVC}
ln -s /etc/${SVC}/${CONF} /run/${SVC}/${CONF}