diff options
Diffstat (limited to 'meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/automount.patch')
-rw-r--r-- | meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/automount.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/automount.patch b/meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/automount.patch new file mode 100644 index 0000000000..5f11147eb8 --- /dev/null +++ b/meta/packages/pcmcia-cs/pcmcia-cs-3.2.8/automount.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | --- pcmcia-cs-3.2.8/etc/shared.orig 2004-12-15 02:21:11.000000000 +0100 | ||
2 | +++ pcmcia-cs-3.2.8/etc/shared 2004-12-27 17:09:51.000000000 +0100 | ||
3 | @@ -55,8 +55,15 @@ | ||
4 | fi | ||
5 | if is_true $DO_MOUNT ; then | ||
6 | O=${OPTS:+-o $OPTS} ; FS=${FSTYPE:+-t $FSTYPE} | ||
7 | - log mount $O $FS $1 $MOUNTPT || return 1 | ||
8 | + if test -x /etc/pcmcia/ide_automount | ||
9 | + then | ||
10 | + /etc/pcmcia/ide_automount | ||
11 | + else | ||
12 | + log mount $O $FS $1 $MOUNTPT || return 1 | ||
13 | + fi | ||
14 | fi | ||
15 | + | ||
16 | + logger "SHARED [$MOUNTPT] [$1]" | ||
17 | return 0 | ||
18 | } | ||
19 | |||