diff options
author | pav <pav@FreeBSD.org> | 2004-04-18 22:26:11 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-04-18 22:26:11 +0800 |
commit | 742ba0598899a9da30720c76ec53009fb570c202 (patch) | |
tree | 424664a3cbbde5a3dc7230be3a6476aa1a82ae41 /net/samba-devel | |
parent | 226802a2640130e14821df9a54410413eeea9872 (diff) | |
download | freebsd-ports-gnome-742ba0598899a9da30720c76ec53009fb570c202.tar.gz freebsd-ports-gnome-742ba0598899a9da30720c76ec53009fb570c202.tar.zst freebsd-ports-gnome-742ba0598899a9da30720c76ec53009fb570c202.zip |
- Improve rc script: if samba_enable is not set, use fine grained control
using smbd_enable and nmbd_enable and silence warning about samba_enable
not being set.
PR: ports/65598
Submitted by: Timur I. Bakeyev <timur@com.bat.ru> (maintainer)
Requested by: obrien
Diffstat (limited to 'net/samba-devel')
-rw-r--r-- | net/samba-devel/files/samba.sh.sample | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/samba-devel/files/samba.sh.sample b/net/samba-devel/files/samba.sh.sample index 0221db03567c..016467524cde 100644 --- a/net/samba-devel/files/samba.sh.sample +++ b/net/samba-devel/files/samba.sh.sample @@ -38,7 +38,7 @@ if [ ! -r ${samba_config} ]; then esac fi -if checkyesno samba_enable; then +if test -n ${samba_enable:-} && checkyesno samba_enable; then nmbd_enable=${nmbd_enable:-"YES"} smbd_enable=${smbd_enable:-"YES"} %%WINBIND%% winbindd_enable=${winbindd_enable:-"YES"} |