mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 12:56:28 -04:00
Attempt to fix broken init script. Hope, this time it's OK :)
PR: 184037
This commit is contained in:
parent
88eb687a3f
commit
a70df663b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334130
2 changed files with 6 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= ${SAMBA_BASENAME}36
|
||||
PORTVERSION= 3.6.20
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES?= net
|
||||
MASTER_SITES= ${MASTER_SITE_SAMBA}
|
||||
MASTER_SITE_SUBDIR= samba samba/stable samba/pre
|
||||
|
|
|
@ -164,6 +164,11 @@ samba_config_init() {
|
|||
fi
|
||||
# Defaults
|
||||
samba_enable=${samba_enable:=NO}
|
||||
# Setup dependent variables
|
||||
if [ -n "${rcvar}" ] && checkyesno "${rcvar}"; then
|
||||
nmbd_enable=${nmbd_enable=YES}
|
||||
smbd_enable=${smbd_enable=YES}
|
||||
fi
|
||||
nmbd_enable=${nmbd_enable:=NO}
|
||||
smbd_enable=${smbd_enable:=NO}
|
||||
%%WINBIND%% # Winbindd
|
||||
|
@ -175,11 +180,6 @@ samba_config_init() {
|
|||
%%WINBIND%% fi
|
||||
%%WINBIND%% winbindd_enable=${winbindd_enable:=NO}
|
||||
%%WINBIND%% fi
|
||||
# Setup dependent variables
|
||||
if [ -n "${rcvar}" ] && checkyesno "${rcvar}"; then
|
||||
nmbd_enable=${nmbd_enable=YES}
|
||||
smbd_enable=${smbd_enable=YES}
|
||||
fi
|
||||
}
|
||||
|
||||
# Load configuration variables
|
||||
|
|
Loading…
Add table
Reference in a new issue