Drat!  

I didn't mean rc.local; I meant /etc/rc.d/init.d

On Mon, 10 Apr 2000, you wrote:
| Brian T. Schellenberger said:
| >  Yes, but what rc.5 has is irrelevent; the question is: "why are we
| >  using rc.5 in the *first* place? -- what's putting us into run-level 5?"
| >  
| >  Do you have an init in the rc.local at all?        (Possibly linked in for
| >  run-level 3.)  I suspect not, and that 'init' is some "special" magical
| >  string that will require a more expert expert than me to decipher, but
| >  I figured we could eliminate the obvious first.
| 
| I don't see anything like that in rc.local (copied below sig).
| -- 
| Lane
| ____
| Lane Lester / Madison County, Georgia USA
| Using Linux to get where I want to go...
| 
| #!/bin/sh
| #
| # This script will be executed *after* all the other init scripts.
| # You can put your own initialization stuff in here if you don't
| # want to do the full Sys V style init stuff.
| 
| if [ -f /etc/mandrake-release ]; then
|     R=$(cat /etc/mandrake-release)
| 
|     arch=$(uname -m)
|     a="a"
|     case "_$arch" in
|           _a*) a="an";;
|           _i*) a="an";;
|     esac
|     
|     NUMPROC=`egrep -c "^cpu[0-9]+" /proc/stat`
|     if [ "$NUMPROC" -gt "1" ]; then
|       SMP="$NUMPROC-processor "
|       [ "$NUMPROC" = "2" ] && \
|       SMP="Bi-processor "
|       if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ]; then
|           a="an"
|       else
|           a="a"
|       fi
|     fi
| 
|     # This will overwrite /etc/issue at every boot.  So, make any changes you
|     # want to make to /etc/issue here or you will lose them when you reboot.
| 
|     if [ -x /usr/bin/linux_logo ];then
|       /usr/bin/linux_logo -c -n -f > /etc/issue
|       echo "" >> /etc/issue
|     else
|       > /etc/issue
|     fi
|     echo "$R" >> /etc/issue
|     echo "Kernel $(uname -r) on $a $SMP$(uname -m) / \l" >> /etc/issue
|     
|     echo "Welcome to %h" > /etc/issue.net
|     echo "$R" >> /etc/issue.net
|     echo "Kernel $(uname -r) on $a $SMP$(uname -m)" >> /etc/issue.net
| fi
| #insmod ide-scsi
| #modprobe ide-scsi
| /usr/local/sbin/ledd 1>/dev/null 2>&1 &
-- 
"Brian, the man from babbleon-on"               [EMAIL PROTECTED]
Brian T. Schellenberger                         http://www.babbleon.org
Support http://www.eff.org.                     Support decss defendents.
Support http://www.programming-freedom.org.     Boycott amazon.com.

Reply via email to