new approach

This commit is contained in:
root
2023-04-18 13:41:50 +02:00
parent 002116e26a
commit 7fd9ca7edd
11 changed files with 242 additions and 36 deletions

23
conf.d/service_40_smbd.conf.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/sh
. ./settings.sh
#
# Service configuration
#
S_ENABLED=yes
S_NAME="smbd"
S_PACKAGES="samba"
fservice $S_ENABLED $1 $S_NAME $S_PACKAGES
case $1 in
init)
echo " create smb.conf ..."
cat ${D_ROOTDIR}/resrc.d/service_smb.conf.txt | sed "s#__D_TFTP__#$D_TFTP#g" > /etc/samba/smb.conf
;;
esac