Need "rc.local", Ubuntu doesn't have one

Bob Nielsen nielsen at oz.net
Fri Dec 31 01:23:13 UTC 2004


On Thu, Dec 30, 2004 at 10:07:59PM +0000, Eamonn Sullivan wrote:
> On Thu, 30 Dec 2004 13:41:02 -0800, Bob Nielsen <nielsen at oz.net> wrote:
> > On Thu, Dec 30, 2004 at 11:30:10PM +0200, Ville Vainio wrote:
> > If you add a new file (such as rc.local) to /etc/init.d and run
> > update-rc.d, it won't be affected by a future update, since no packages
> > contain that file.  I do this all the time.  Where you get into trouble
> > is making changes to files installed by packages, although there are
> > ways to handle it cleanly.
> 
> This brings up a related concern I have. I modified checkfs.sh when I
> was trying to solve a problem mounting a second hard drive during
> boot. I took out my change, but almost certainly screwed up any
> checksums that may be tracked on the file. How do I ensure that my
> botched mods to checkfs.sh get obliterated when I eventually upgrade
> to Hoary?

apt-get --reinstall install initscripts






More information about the ubuntu-users mailing list