On Thursday 04 August 2005 12:47, Bob Proulx wrote: >Gene Heskett wrote: >> I have a fairly lengthy list of things I've added to >> the /etc/rc.d/rc.local file, which is softlinked from S99local in >> the various rcX.d directories in RH & Fedora and is the last thing >> executed before the login screen in a RG/Fedora runlevel 3 boot. > >On Debian there is no difference (by default) to the different run >levels. This is an often confusing point to people switching to >Debian. And the converse that run levels are meaningful to people >switching to Red Hat.
Yes, among other things if its setup for a graphical login, but I want to first do a text login followed by a startx. How then is this accomplished? [...] >There is no default "local" rc script. Which is perhaps a shame >because this is an often asked question. But there is a template > that you can use to easily create one for yourself. > > cd /etc/init.d > cp skeleton localrc > editor localrc # edit as you desire Ahh, that I can handle. I take it it gets sourced if it exists as localrc? > >That file has examples of almost everything in it. You won't need >almost everything in your copy. Please delete what you don't need. >In fact it may be better to pick an active working script and use it >instead. You will be ahead in terms of avoiding the noise. But >skeleton is still a good example because it does have a lot of > stuff. > > cp cron localrc > editor localrc # edit as you desire > >Of course that is a traditional daemon startup. If you just want to >run commands then you might find hwclock.sh more to your liking. > > cp cron localrc > editor localrc # edit as you desire > >In any case, there is a tool to set up the symlinks that can be >thought of as a chkconfig like tool. > > update-rc.d localrc defaults > >This is really a scripting interface. So normally users don't need > to know about the command. But it is used in packages in the > postinst script. And the reverse removal is 'update-rc.d localrc > remove'. But, what do I do it aI want to remove boinc, but not setibatch? Obviously we're back to hand editing. I'm capable of that. Maybe a different tack needs to be taken by way of having an etc/local dir, and anything placed it it gets sourced at startup? Is something like that possible in the future? Thanks Bob. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) 99.35% setiathome rank, not too shabby for a WV hillbilly Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2005 by Maurice Eugene Heskett, all rights reserved. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]