[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggested script change for newaliases
> Currently newaliases starts as follows:
> =>head newaliases
> #!/u/fenris/zmailer/bin/router -f
> #
> ZCONFIG=/etc/zmailer.conf
>
> Since /etc/zmailer.conf is hardwired into the executables would not the
> following be better form
>
> #!/bin/sh
>
> . /etc/zmailer.conf
> $MAILBIN/router -f
>
> ...
Basically yes, in practice there will be a bit problems
because proto/Makefile edits proto/newaliases when
it is executing "make config"..
.. Ah, it edits only the "hash-bang"-line(s), so it should
process it correctly.
> This gets around the 30 character limitation in the startup #! line,
> and also means one less place to fiddle with when you move zmailer.
>
> => Sherwood Botsford sherwood@space.ualberta.ca <=
/Matti Aarnio <mea@nic.funet.fi> <mea@utu.fi>