[autofs] update to latest version.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-connectivity / autofs / autofs-4.1.4 / 080_auto_smb_probe_credentials.patch
diff --git a/meta-openvuplus/recipes-connectivity/autofs/autofs-4.1.4/080_auto_smb_probe_credentials.patch b/meta-openvuplus/recipes-connectivity/autofs/autofs-4.1.4/080_auto_smb_probe_credentials.patch
deleted file mode 100644 (file)
index 0b6ca44..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh /usr/share/dpatch/dpatch-run
-## 080_auto_smb_probe_credentials.dpatch
-##
-## DP: No description.
-
-@DPATCH@
-
-diff -Naur .B/samples/auto.smb .A/samples/auto.smb
---- .B/samples/auto.smb        2007-01-07 21:36:36.000000000 +0000
-+++ .A/samples/auto.smb        2007-01-07 21:36:37.000000000 +0000
-@@ -5,7 +5,9 @@
- # This file must be executable to work! chmod 755!
- key="$1"
--opts="-fstype=cifs"
-+mountopts="-fstype=cifs"
-+smbopts=""
-+credfile="/etc/auto.smb.$key"
- for P in /bin /sbin /usr/bin /usr/sbin
- do
-@@ -18,7 +20,14 @@
- [ -x $SMBCLIENT ] || exit 1
--$SMBCLIENT -gNL $key 2>/dev/null| awk -v key="$key" -v opts="$opts" -F'|' -- '
-+if [ -e $credfile ]; then
-+      mountopts="$mountopts,credentials=$credfile"
-+      smbopts="-A $credfile"
-+else
-+      smbopts="-N"
-+fi
-+ 
-+$SMBCLIENT $smbopts -gL $key 2>/dev/null| awk -v key="$key" -v opts="$mountopts" -F'|' -- '
-       BEGIN   { ORS=""; first=1 }
-       /Disk/  { if (first) { print opts; first=0 }; sub(/ /, "\\ ", $2); print " \\\n\t /" $2, "://" key "/" $2 }
-       END     { if (!first) print "\n"; else exit 1 }