Files
HomeServerCTs/CT-Files/smb/Scripts/Init.sh
Bram Prieshof 9d3bfb1e92 Initial upgraded Debian CT to version 12
- Adapted wsdd(Web Service Discovery) configuration for native debian version
- Added Debian12 repo key
2023-11-17 22:24:34 +01:00

7 lines
462 B
Bash

#!/bin/bash
addgroup smb
mv /opt/Setup/Configs/wsdd.conf /etc/default/wsdd.conf
mv /opt/Setup/Configs/smb.conf /etc/samba/smb.conf
mv /opt/Setup/Configs/smb.service.avahi /etc/avahi/services/smb.service
echo "login_message=Samba Server on" >/etc/webmin/authentic-theme/custom-lang
echo "root: backup-config webmin acl init passwd mount fsdump proc cron package-updates software system-status useradmin samba shell filemin status updown" > /etc/webmin/webmin.acl