sudo samba
This commit is contained in:
parent
d7ac5744b2
commit
f05a233e5d
1 changed files with 2 additions and 2 deletions
4
samba
4
samba
|
@ -39,8 +39,8 @@ GPLv2
|
|||
|
||||
=cut
|
||||
|
||||
SMBSTATUS=${smbstatus:-$(command -v smbstatus)}
|
||||
SMBSTATUS=${SMBSTATUS:-/usr/bin/smbstatus}
|
||||
SMBSTATUS=${smbstatus:-$(command -v sudo smbstatus)}
|
||||
SMBSTATUS=${SMBSTATUS:-sudo /usr/bin/smbstatus}
|
||||
|
||||
if [ "$1" = "autoconf" ]; then
|
||||
if [ -x "$SMBSTATUS" ]; then
|
||||
|
|
Loading…
Reference in a new issue