----- Original Message ----- From: "Jon Clausen" <[EMAIL PROTECTED]> To: <> Sent: Wednesday, May 22, 2002 4:45 PM Subject: Re: Fw: [leaf-user] No autoexec.bat :-)
> On Wed, May 22, 2002 at 03:57:18PM -0500, Omar D. Samuels wrote: > > I have a program that I want to run at startup... I wouldn't mind running it > > instead of the "LRCFG". I've been snooping around the init.d and rc.d > > sections but can't find exactly where to stick this. Can anyone help, > > pleez? Thanks. > > Actually lrcfg doesn't run on startup... > > It runs at login, and the place that that's specified is in > /root/.profile towards the end: > > #Uncomment to run at login > /usr/sbin/lrcfg > > - so what you could do is comment that line out, and put something else > in there... but that's of course if you want /path/to/foo to run at > *login*... I found that file (it was hidden) and I'm gonna try adding my program to be run there. Boy I feel my brain cells multiplying rapidly... in order to try it tho' I need to add something to my /sbin directory and backup my LEAF boot disk, how do I backup the changes of the /sbin directory? > > If you want foo to run at *boot*, then I guess it needs to go in some > /etc/init.d with a link from /etc/rcN.d, but I'm not too sure what the > default runlevel is... and I should prolly not elaborate further... ;) Sorry I just now realizing what u r saying about the difference between login time and boot time, I am getting this now, I'd really love for you to explain the /etc/init.d and etc/rc#.d thing, I am only semi-grasping it, I mean I have a semi-thesis, but I wanna hear from a real techie. Thanks man again. _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
