[NCLUG] /etc/environment

John L. Bass jbass at dmsd.com
Sun Aug 19 14:19:01 MDT 2007


Bob Proulx writes:
>   #!/bin/sh
>   . /usr/local/etc/default/myjavadefaults
>   exec myjavaprogram2.java "$@"
>
> That would provide a single place to edit and make changes that
> mimicks the current system best practice of /etc/default/PACKAGE.

Only until you need to move /usr/local/etc/default/myjavadefaults
at which point there will be a hell of a lot of editing, and some
scripts are likely to get missed, making things fail for months.

Using a single point of change, is by far better.

John



More information about the NCLUG mailing list