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 Thu 28 Aug 2014, 03:18
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
1.0.4 startup/shutdown scripts: rc.reboot updates
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
ozboomer


Joined: 04 May 2005
Posts: 93
Location: Melbourne, Australia

PostPosted: Sat 23 Jul 2005, 10:02    Post subject:  1.0.4 startup/shutdown scripts: rc.reboot updates  

It's been a while since I've played with the startup/shutdown scripts... but with 1.0.4 it seems updates to /etc/rc.d/rc.reboot are not maintained across reboots.

sysinit seems to always copy rc.reboot from /root0/... into /tmp, rather than copying /etc/rc.d/rc.reboot (irrespective of whether it's rc.reboot, rc.reboot-cd or rc.reboot-hd). Is this the correct behaviour?

In the current scheme of things, where I'm always booting from the Live-CD and saving things in a pup001 file on my PC HDD, I think I'll have to remaster the Live-CD with my own rc.reboot/rc.reboot-cd/rc.reboot-hd, so my changes are maintained.

Is this what I'm going to have to do... or have I got it all wrong again!? Smile

Thanks.


John
Back to top
View user's profile Send private message 
BarryK
Puppy Master


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

PostPosted: Sat 23 Jul 2005, 12:00    Post subject:  

If I recall rightly, the rc.reboot out of image.gz is used, copied to /tmp.

So yes, you will have to edit image.gz itself.
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sat 23 Jul 2005, 17:45    Post subject:  

or you can copy rc.reboot to rc.reboot-my ... make any changes to rc.reboot-my, and have a line in maybe rc.local, to copy rc.reboot-my to /tmp/rc.reboot
Back to top
View user's profile Send private message 
ozboomer


Joined: 04 May 2005
Posts: 93
Location: Melbourne, Australia

PostPosted: Sat 23 Jul 2005, 21:49    Post subject:  

GuestToo wrote:
or you can copy rc.reboot to rc.reboot-my ... make any changes to rc.reboot-my, and have a line in maybe rc.local, to copy rc.reboot-my to /tmp/rc.reboot


Ok, this seems to be the sort of way to go, I think.

I'm having another cut at setting-up some sort of 'site-specific' customizations for startup/shutdown and I'm leaning toward maintaining my own files/directories... and then I'll have something that modifies rc.local to run all the site-specific things... but I still have to be careful with that as the firewall setups (and who knows what else) can still come through and modify rc.local).

Many thanks for the info.
Back to top
View user's profile Send private message 
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.0500s ][ Queries: 12 (0.0102s) ][ GZIP on ]