Why doesn't modules.conf persist after reboot?

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

Why doesn't modules.conf persist after reboot?

#1 Post by sunburnt »

I added lines to /root/.etc/modules.conf but rebooting copies the old file over it.
Shouldn't the non "0" ending files save into the pup file & be restored.
/root/.etc/rc.d/rc.local persisted when I wrote to it, why not /root/.etc/modules.conf?
I thought the "0" ending files were the ones that were copied over from image.gz on reboot.

User avatar
jmarsden
Posts: 265
Joined: Sat 31 Dec 2005, 22:18
Location: California, USA

#2 Post by jmarsden »

I think you need to specify which version of Puppy you are running, and possibly your overall boot setup.

I just did

Code: Select all

echo "# `date`" >>/etc/modules.conf
verified the comment line was in there, and then rebooted. It stayed in there. This is in Puppy 1.0.8, booting from CD using a pup001 file on /dev/hda3 which is an ext3 partition.

Maybe this was fixed in 1.0.8?

Jonathan

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#3 Post by sunburnt »

Sorry... Puppy105, PizzaPup, & EmptyCrust - poormans, all seem to write over the modules.conf file.
Must be a boot script bugaboo, pup001 is made on first run, but it keeps getting written over after that.
I could try to find & fix it, but putting a command in rc.local to copy a link over the file is a lot simpler.
With a link, any changes will go to the real file that isn't copied over, so it'll persist.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#4 Post by BarryK »

Yes, versions before 1.0.8 do overwrite modules.conf.

For 1.0.8, also puppy2, you can edit modules.conf and it will persist.

Post Reply