Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: TL3.0J Bashing autofs



>>>>> "Andrew" == Andrew S Howell <andy@example.com> writes:

All I want for X'Mas is a better memory....

A while back I sent a message to Scott telling that I had problems
with autofs, and that I found a new version on the net. While looking
at TL3.0j updates, I noticed autofs-3.1.1-8. It works just fine.

Duh...  Too much eggnog???? 

	Andy

    Andrew> Hello,
	
    Andrew> 	I just upgraded to TL3.0J and have run into a slight
    Andrew> problem. Bash does not like /etc/rc.d/init.d/autofs. From
    Andrew> the /usr/doc/bash-2.02.1/COMPAT, it seems that grouped
    Andrew> commands in "{ }" must have a trailing ";" before the "}".

    Andrew> Here is a patch to /etc/rc.d/init.d/autofs. This is
    Andrew> against autofs-0.3.14-2TL

    Andrew> Andy

    Andrew> *** autofs.org Thu Dec 24 17:44:36 1998 --- autofs Thu Dec
    Andrew> 24 17:46:51 1998 *************** *** 108,113 **** fi echo
    Andrew> "Checking for changes to /etc/auto.master ...."  !
    Andrew> TMP1=`mktemp /tmp/autofs.XXXXXX` || { echo "could not make
    Andrew> temp file" >&2; exit 1 } !  TMP2=`mktemp
    Andrew> /tmp/autofs.XXXXXX` || { echo "could not make temp file"
    Andrew> >&2; exit 1 } getmounts >$TMP1 ps ax|grep
    Andrew> "[0-9]:[0-9][0-9] /usr/sbin/automount " | ( --- 108,113
    Andrew> ---- fi echo "Checking for changes to /etc/auto.master
    Andrew> ...."  !  TMP1=`mktemp /tmp/autofs.XXXXXX` || { echo
    Andrew> "could not make temp file" >&2; exit 1; } !  TMP2=`mktemp
    Andrew> /tmp/autofs.XXXXXX` || { echo "could not make temp file"
    Andrew> >&2; exit 1; } getmounts >$TMP1 ps ax|grep
    Andrew> "[0-9]:[0-9][0-9] /usr/sbin/automount " | (

    Andrew> -------------------------------------------------------------------
    Andrew> Next Nomikai: 14 January 1999, 19:30 Tengu TokyoEkiMae
    Andrew> 03-3275-3691 *** it will will be Jan 14 (Thu), as Jan 15
    Andrew> (Fri) is a natl holiday Next Technical Meeting: 13
    Andrew> February, 12:30 Place: TBD
    Andrew> -------------------------------------------------------------------
    Andrew> more info: http://tlug.linux.or.jp Sponsor: PHT
-------------------------------------------------------------------
Next Nomikai: 14 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691
*** it will will be Jan 14 (Thu), as Jan 15 (Fri) is a natl holiday
Next Technical Meeting: 13 February, 12:30               Place: TBD
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links