Howdy Gentoo developers, I hacked up etc-update a bit by moving the configuration items (eg. rm_opts, pager, diff_command etc.) out of /usr/sbin/etc-update and into a file /etc/etc-update.conf. I find these changes handy because I liked to configure my pager for etc-update, but I hated how the changes I made in /usr/sbin/etc-update got clobbered with each new gentoolkit. With /etc/etc-update.conf under CONFIG_PROTECT, I no longer have this problem. Perhaps others will find these changes handy also, because I see the issue comes up on gentoo-user a alot. Also, having a user edit a data-only config file as opposed to a script in /usr/sbin/ makes more sense, in my opinion. I am attaching 1) the diff of /usr/sbin/etc-update and 2) an example /etc/etc-update.conf file. Regards, Matthew
Created attachment 380 [details, diff] etc-update.patch (based on etc-update in gentoolkit-0.1.5-r2)
Created attachment 381 [details] etc-update.conf Example /etc/etc-update.conf config file. As you can see, I've cut and pasted the configuration items straight out of /usr/sbin/etc-update.