From e184b71a30c6106a5e3f23a044a604e734379b1f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Mon, 26 Jun 2006 21:49:03 +0000 Subject: [PATCH] - official patches Changed files: autofs-4.1.4-auto.smb-cifs.patch -> 1.1 --- autofs-4.1.4-auto.smb-cifs.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 autofs-4.1.4-auto.smb-cifs.patch diff --git a/autofs-4.1.4-auto.smb-cifs.patch b/autofs-4.1.4-auto.smb-cifs.patch new file mode 100644 index 0000000..a4120d3 --- /dev/null +++ b/autofs-4.1.4-auto.smb-cifs.patch @@ -0,0 +1,22 @@ +diff --git a/samples/auto.smb b/samples/auto.smb +index ad44fc0..d0abcd7 100755 +--- a/samples/auto.smb ++++ b/samples/auto.smb +@@ -5,7 +5,7 @@ + # This file must be executable to work! chmod 755! + + key="$1" +-opts="-fstype=smbfs" ++opts="-fstype=cifs" + + for P in /bin /sbin /usr/bin /usr/sbin + do +@@ -20,7 +20,7 @@ done + + $SMBCLIENT -gNL $key 2>/dev/null| awk -v key="$key" -v opts="$opts" -F'|' -- ' + BEGIN { ORS=""; first=1 } +- /Disk/ { if (first) { print opts; first=0 }; print " \\\n\t /" $2, "://" key "/" $2 } ++ /Disk/ { if (first) { print opts; first=0 }; sub(/ /, "\\ ", $2); print " \\\n\t /" $2, "://" key "/" $2 } + END { if (!first) print "\n"; else exit 1 } + ' + -- 2.44.0