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

7 lines
155 B
Text
Executable file

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}