sudo samba

This commit is contained in:
Michael Grote 2021-06-16 12:26:01 +02:00
parent d7ac5744b2
commit f05a233e5d

4
samba
View file

@ -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