diff options
| author | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-18 14:26:11 +0000 |
|---|---|---|
| committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-18 14:26:11 +0000 |
| commit | 1c58bcd122d6b2764f3270bd41196e4de6504303 (patch) | |
| tree | ccaf9b78638b64012802cc1e6d7415e1ba5e0173 /net/samba3 | |
| parent | Add root 4.00.03, an Object-Oriented Data Analysis Framework. (diff) | |
- 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/samba3')
| -rw-r--r-- | net/samba3/files/samba.sh.sample | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/samba3/files/samba.sh.sample b/net/samba3/files/samba.sh.sample index 0221db03567c..016467524cde 100644 --- a/net/samba3/files/samba.sh.sample +++ b/net/samba3/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"} |
