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

Re: init script config files



Martin Bialasinski wrote:
> Let's look at a init.d file.
> 
> #!/bin/sh
> #
> # Start the proftpd FTP daemon.
> 
> # For more exhaustive logging, try "-d 3" as proftpd_options.
> 
> run_proftpd=1
> proftpd_options=""
> 
> [...]
> 
> Why would it be easier for the admin to modify these two values in an
> external file instead of the init script?

Because if you modify the init script and leter upgrade, you will
probably have to merge in your changes to a new version of the init
script. If you modify lots of init scripts on lots of systems, this
becomes old very quickly. Pulling out the obvious configuration values
makes life easier for the large percentage of admins who only need to
modify them.

-- 
see shy jo



Reply to: