summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opie-smb/opie-smb.control2
-rw-r--r--noncore/net/opie-smb/qsmb.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/opie-smb/opie-smb.control b/noncore/net/opie-smb/opie-smb.control
index 98a23b4..fc8c316 100644
--- a/noncore/net/opie-smb/opie-smb.control
+++ b/noncore/net/opie-smb/opie-smb.control
@@ -1,10 +1,10 @@
Package: opie-smb
-Files: plugins/application/libopie-smb.so* bin/opie-smb pics/opie-smb apps/Applications/opie-smb.desktop
+Files: plugins/application/libopie-smb.so* bin/opie-smb bin/smbfind pics/opie-smb apps/Applications/opie-smb.desktop
Version: $QPE_VERSION$EXTRAVERSION
Architecture: arm
Arch: arm
Maintainer: Kurt Korbatits (support@midget.net.au)
Section: Network
Priority: optional
Description: Gui front end for samba utilities.
Source:
diff --git a/noncore/net/opie-smb/qsmb.cpp b/noncore/net/opie-smb/qsmb.cpp
index 527ab38..880573b 100644
--- a/noncore/net/opie-smb/qsmb.cpp
+++ b/noncore/net/opie-smb/qsmb.cpp
@@ -117,17 +117,17 @@ void Qsmb::scan()
}
while(fgets(result, 256, pipe) != NULL) {
strcpy( match, result);
match[5]='\0';
break;
}
owarn << "match: " << match << oendl;
- cmd = "/usr/bin/findsmb";
+ cmd = "smbfind";
owarn <<"cmd: " << cmd << oendl;
TextViewOutput->append(cmd);
snprintf(lmhosts, 512, "echo '127.0.0.1 localhost'>/etc/samba/lmhosts");
if ((pipe2 = popen(lmhosts, "r")) == NULL) {
snprintf(result, 256, "Error: Can't run %s", lmhosts);