On Tue, 2003-10-21 at 15:39, Rick [Kitty5] wrote: > IMO etc-update should make a backup copy of all files replaced > > Rick
You can do this with two small changes. First, add the --backup option to mv_opts in /etc/etc-update.conf. Note: The default backup option will create a single backup named filename~. If you do want to maintain previous backups, you can use something like --backup=numbered. Take a look at the man info page for other backup options. The second change is to the etc-update program itself. Unfortunately, etc-update's current method using when using '-5' is to reset mv_opts to "". To add backups when using the '-5' option open /usr/sbin/etc-update in an editor and locate the lines: if (( ${input} == -5 )); then input=-3 export mv_opts="" fi Change the export line to: export mv_opts="--backup". Or --backup=numbered etc. Good Luck, Doug -- [EMAIL PROTECTED] mailing list