You didn't comment out the end of the if block. See below.

Benjamin Sher wrote:
> 
> Dear Steve:
> 
> I would very much appreciate your help with an error which I
> inadvertently made while using your instructions on how to get rid of
> the ugly penguin. I got rid of the ugly penguin all right, but I also
> got a Failed message during boottime concerning a syntax error in
> unexpected token in line 50 of /etc/rc.d/rc.local/rc3.d/S99local:
> [sher@adsl-77-232-194 rc3.d]$ cat S99local:
> 
> I am including it by attachment.
> 
> I know nothing about programming, but I did try to see some pattern and
> use my "common sense" to figure this out. Naturally, uninformed "common
> sense", professionally speaking, isn't worth a hoot.
> 
> By the way, someone else recommended deleting /etc/issue. I did that but
> the file ?etc/issue was always recreated just the same.
> 
> Looking forward to hearing from you.
> 
> Benjamin
> 
> Benjamin and Anna Sher
> Email:[EMAIL PROTECTED]
> Sher's Russian Web
> http://www.websher.net
> 
>   ----------------------------------------------------------------------
> #!/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.
> 
> # Removing it, need to hack the console-tools to have it
> 
> #. /etc/sysconfig/pcmcia
> #
> #if [ "$PCMCIA" != "yes" ] ; then
> #      initty=/dev/tty[1-8]
> #      for tty in $initty; do
> #        setleds +num < $tty
> #      done
> #fi
> 
> 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=$[`cat /proc/cpuinfo | grep ^processor | wc -l`]
>     if [ $NUMPROC -gt 1 ]; then
>         SMP="$NUMPROC-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
> #       echo "Kernel $(uname -r) on $a $(uname -m)" >> /etc/issue

This line needs to be commented out

>         fi


> 
>        echo "$R" >> /etc/issue
>        echo "$R" > /etc/issue.net
>        echo "Kernel $(uname -r) on $a $(uname -m)" >> /etc/issue.net
>    fi

-- 
Stephen Carville
[EMAIL PROTECTED]
----------------------------------------------------
There are two kinds of people: those who do the work and those
who take the credit. Try to be in the first group; there is less      
competition there. 
                                        Indira Gandhi

Reply via email to