The time now is Sun 19 May 2013, 08:09
All times are UTC - 4 |
| Author |
Message |
sunburnt

Joined: 08 Jun 2005 Posts: 4001 Location: Arizona, U.S.A.
|
Posted: Tue 28 Feb 2006, 05:46 Post subject:
Why doesn't modules.conf persist after reboot? |
|
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.
|
|
Back to top
|
|
 |
jmarsden

Joined: 31 Dec 2005 Posts: 263 Location: California, USA
|
Posted: Wed 01 Mar 2006, 13:34 Post subject:
|
|
I think you need to specify which version of Puppy you are running, and possibly your overall boot setup.
I just did | Code: | | 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
|
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 4001 Location: Arizona, U.S.A.
|
Posted: Wed 01 Mar 2006, 20:08 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6855 Location: Perth, Western Australia
|
Posted: Wed 01 Mar 2006, 22:11 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|