Mailing List Archive

Support open source code!


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

tlug: TL3.0J Bashing autofs




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

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

Andy

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

-------------------------------------------------------------------
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