On Wed, 22 May 2002, Omar D. Samuels wrote: > ----- Original Message ----- > From: "Jon Clausen" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, May 22, 2002 5:03 PM > Subject: Re: Fw: [leaf-user] No autoexec.bat :-) > > > > On Wed, May 22, 2002 at 11:45:45PM +0200, Jon Clausen wrote: > > > 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*... > > > > > > 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... ;) > > > > > > > oh yeah - to make whatever you put in .profile stick beyond the next > > boot, you need to back up root.lrp > > > How can I tell which folders are in my path?
echo $PATH Note that the value of this variable changes depending on what process is accessing it. Processes fired off to handle initialization may not have the same path available from a login. Depending on a PATH for system functions is considered risky and undependable: risky (in a security sense) because if someone can change the path, they can replace the functionality you think you are getting with whatever they want, and undependable because YOU might be responsible for changes later that affect the boot process in surprising ways. http://www.tldp.org/HOWTO/DOS-Win-to-Linux-HOWTO.html (and http://www.tldp.org in general) http://www.linuxjournal.com/article.php?sid=3016 or a good book on Linux or Unix system administration. > The size of a mounted volume? df on a full Linux system the "-H" option makes the numbers more readable for humans ("1.4M" instead of "1474560�, for example). > Also, I did a pretty bad thing... I once copied a file into the /usr/local > directory, I backed up the folder and ever since I keep getting a corrupt > message whenever LINUXRC tries to load local. Any ideas? Copying files into /usr/local is not something that should result in corruption, but neither is it commonly used as the location to store files... certain subdirectories are typically used within /usr/local instead. See http://www.pathname.com/fhs/ for more information about what directories are usually used for what. Most likely you ran out of disk space during the write, and the local.lrp is incomplete. Replace it with a fresh one, and try again... this time checking ramdisk and floppy space before backing up. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<[EMAIL PROTECTED]> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...2k --------------------------------------------------------------------------- _______________________________________________________________ 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
