Merge pull request 'refs #2355 deletes obsolete samba directory and changes postinstall to use samba-ogboot.tmpl' (#19) from delete-samba-dir into main
ogboot/pipeline/head This commit looks good Details

Reviewed-on: #19
main
Luis Gerardo Romero Garcia 2025-06-30 11:43:01 +02:00
commit 355ce31271
3 changed files with 1 additions and 14 deletions

View File

@ -153,7 +153,7 @@ configure_nginx_and_fpm() {
configure_samba(){
echo "Configurando Samba"
cp /opt/opengnsys/ogboot/etc/samba/smb-ogboot.conf /etc/samba/
cp /opt/opengnsys/ogboot/etc/smb-ogboot.conf.tmpl /etc/samba/smb-ogboot.conf
sed -i "s|__OGBOOTDIR__|$OGBOOT_ROOT|g" /etc/samba/smb-ogboot.conf
INCLUDE_LINE="include = /etc/samba/smb-ogboot.conf"
if ! grep -q "$INCLUDE_LINE" /etc/samba/smb.conf; then

View File

@ -1,6 +0,0 @@
[tftpboot]
comment = OpenGnsys init files
browseable = no
writeable = no
path = __OGBOOTDIR__/tftpboot
guest ok = no

View File

@ -1,7 +0,0 @@
[ogclient]
comment = OpenGnsys Client
browseable = no
writeable = no
locking = no
path = __OGBOOTDIR__/client
guest ok = no