Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 06:32
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Why doesn't modules.conf persist after reboot?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: 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
View user's profile Send private message 
jmarsden


Joined: 31 Dec 2005
Posts: 263
Location: California, USA

PostPosted: 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
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: 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
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: 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
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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
[ Time: 0.0444s ][ Queries: 11 (0.0060s) ][ GZIP on ]