Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1244 - moved the configuration data in /usr/sbin/etc-update
Summary: moved the configuration data in /usr/sbin/etc-update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-19 15:09 UTC by Matthew Kennedy
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
etc-update.patch (based on etc-update in gentoolkit-0.1.5-r2) (etc-update.patch,2.24 KB, patch)
2002-03-19 15:12 UTC, Matthew Kennedy
Details | Diff
etc-update.conf (etc-update.conf,1.28 KB, text/plain)
2002-03-19 15:14 UTC, Matthew Kennedy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Kennedy 2002-03-19 15:09:06 UTC
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
Comment 1 Matthew Kennedy 2002-03-19 15:12:50 UTC
Created attachment 380 [details, diff]
etc-update.patch (based on etc-update in gentoolkit-0.1.5-r2)
Comment 2 Matthew Kennedy 2002-03-19 15:14:25 UTC
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.