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