From bdb91b782d42d2ade44e0391f71792d1327ed98d Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 1 Oct 2021 12:01:54 +0200 Subject: [PATCH] samba: bugfixes --- extern/samba | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extern/samba b/extern/samba index b632913..62a6061 100644 --- a/extern/samba +++ b/extern/samba @@ -1,5 +1,4 @@ -#!@@GOODSH@@ -# -*- sh -*- +#!/bin/bash : << =cut @@ -40,7 +39,7 @@ GPLv2 =cut #SMBSTATUS=${smbstatus:-$(sudo command -v smbstatus)} -SMBSTATUS=${SMBSTATUS:-$(sudo /usr/bin/smbstatus)} +SMBSTATUS=$(which smbstatus) if [ "$1" = "autoconf" ]; then if [ -x "$SMBSTATUS" ]; then