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 Wed 20 Aug 2014, 04:46
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 Posts_count  
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5016
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: 5016
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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0482s ][ Queries: 11 (0.0102s) ][ GZIP on ]