|
From: Friedrich L. <fl...@fl...> - 2003-10-13 19:51:22
|
Bruce Smith wrote: > > It seems to working on my system (not uploaded yet). > > Basically it untars the old etc file and the new etc file into different > subdirectories, compares every file in old to new, gives you a list of > which file(s) changed and asks which file(s) you'd like to copy to the > new directory. Then it tars up a new etc config file. > > I really hated the thought of having to answer y/n for potentially > dozens of files to copy over to the new config (like the old kernel > "make config"), so I wrote it using "dialog", like the setup program. > > This lets you scroll back & forth though the list of changed files and > check which file(s) to copy. Plus if you press the HELP button on a > particular modified file, it does a "ls -l" on both old/new files, then > does a "diff -u" on them, and then does a "less" on both files. > > The disadvantage is you need "dialog" installed on your desktop. Do you > have a problem with that? Most distro's come with dialog (at least > Redhat has come with it for quite a few releases), or the user can > always download and install the dialog package ... Just a thought....so don't kill me rightaway ;-) What if Devil-Linux, during boot, checks the Version Number in the config file and if it's to old prompts you to update the config by running your script? Or at least if we had a check for the version in there the user would at least get prompted (or just a sleep 300 to be safe) that he's runnning an old config. -- MfG / Regards Friedrich Lobenstock ____________________________________________________________________ Friedrich Lobenstock Linux Services Lobenstock URL: http://www.lsl.at/ Email: fl...@fl... ____________________________________________________________________ |