summaryrefslogtreecommitdiff
path: root/recipes/pcmcia-cs/pcmcia-cs-3.2.8/automount.patch
blob: 5f11147eb82890c78b8558cffc3cb4f74875785f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- pcmcia-cs-3.2.8/etc/shared.orig	2004-12-15 02:21:11.000000000 +0100
+++ pcmcia-cs-3.2.8/etc/shared	2004-12-27 17:09:51.000000000 +0100
@@ -55,8 +55,15 @@
     fi
     if is_true $DO_MOUNT ; then
 	O=${OPTS:+-o $OPTS} ; FS=${FSTYPE:+-t $FSTYPE}
-	log mount $O $FS $1 $MOUNTPT || return 1
+	if test -x /etc/pcmcia/ide_automount
+	then
+		/etc/pcmcia/ide_automount
+	else
+		log mount $O $FS $1 $MOUNTPT || return 1
+	fi
     fi
+
+	logger "SHARED [$MOUNTPT] [$1]"
     return 0
 }