On Tue, 2008-06-17 at 10:15 +0800, Ian Kent wrote: > > --- autofs-5.0.3-git-ian_kent_patches-vanilla/samples/rc.autofs.in > > 2008-05-19 17:02:17.071234000 -0700 > > +++ autofs-5.0.3-git-ian_kent_patches/samples/rc.autofs.in > > 2008-05-19 18:15:39.881408000 -0700 > > @@ -56,7 +56,7 @@ > > fi > > fi > > > > - $prog $OPTIONS > > + $DAEMON $OPTIONS > > RETVAL=$? > > if [ $RETVAL -eq 0 ] ; then > > echo "done." > > @@ -75,7 +75,7 @@ > > [ $RETVAL = 0 -a -z "`pidof $DAEMON`" ] || sleep 3 > > count=`expr $count + 1` > > done > > - if [ -n "`pidof $DAEMON`" ] ; then > > + if [ -z "`pidof $DAEMON`" ] ; then > > echo "done." > > else > > echo "failed." > > > > Both these have come up before. > In fact I think I changed the if test, so now do we change it back? > I'm not sure why I didn't change the daemon path before but maybe there > was a reason for it. I'll need to think about that.
Ahhh, but this last hunk was fixed in redhat/autofs.init.in and not in samples/rc.autofs.in. To keep these consistent I'll change the messages instead of the if. Ian _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
