Re: [expert] boot up -- syntax error
On Tue, 19 Oct 1999, Ramon Gandia wrote: Axalon Bloodstone wrote: BTW, you only have to rm -f /bin/linux_logo to be rid of that.. My custom has been to rename these things rather than delete them. Once deleted, they are gone for good. If you rename things, you can change your mind later. Good names would be: linux_logo.bak (traditional .bak for backup file) linux_logo.rfg (my initials. they remind me this is something that I did) Thanks for catching that, was thinking one thing and typeing another -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [expert] boot up -- syntax error
I don't know I kinda like the ASCI Penguin just have to figure out how to fix it so the line doesn't wrap through his little body. Jeanette On Wed, 20 Oct 1999, Möfödi wrote: 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 Hmmm it works fine 4 me...no more penguin and no errors :) Can it be that i use runlevel 2 ? And i deleted /etc/issue and /etc/rc.d/rc.local It maybe not the smartest thing to do...but no more Mega-Ugly Penguin :-) And a clean bootup. Skruvhuvet
Re: [expert] boot up -- syntax error
On Wed, 20 Oct 1999, 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 -- # 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 fi ^your missing a # here. -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [expert] boot up -- syntax error
At 01:24 20/10/99 +, you wrote: Dear Steve: comment out all the lines the error is due to 'fi' being uncommented, as below. The uncommented 'fi' stops the rc.local prematurely. Also comment out the 'echo' lines below that too, this will stop /etc/issue from being re-created [snip] # 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 fi echo "$R" /etc/issue echo "$R" /etc/issue.net echo "Kernel $(uname -r) on $a $(uname -m)" /etc/issue.net fi Regards Geoff Croxson --- Page me http://wwp.mirabilis.com/1120068 Senior Micro-Computing Support Officer Ph: 9514 1218 Humanities and Social Sciences Fax:9514 1041 University of Technology, Sydney [EMAIL PROTECTED]
Re: [expert] boot up -- syntax error
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 Hmmm it works fine 4 me...no more penguin and no errors :) Can it be that i use runlevel 2 ? And i deleted /etc/issue and /etc/rc.d/rc.local It maybe not the smartest thing to do...but no more Mega-Ugly Penguin :-) And a clean bootup. Skruvhuvet
Re: [expert] boot up -- syntax error
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
Re: [expert] boot up -- syntax error
Dear Axalon: Thanks so very much to you and others for pointing out the solution. Everything is OK now. Benjamin -- Benjamin and Anna Sher Email:[EMAIL PROTECTED] Sher's Russian Web http://www.websher.net
Re: [expert] boot up -- syntax error
BTW, you only have to rm -f /bin/linux_logo to be rid of that.. On Wed, 20 Oct 1999, [iso-8859-1] Möfödi wrote: 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 Hmmm it works fine 4 me...no more penguin and no errors :) Can it be that i use runlevel 2 ? And i deleted /etc/issue and /etc/rc.d/rc.local It maybe not the smartest thing to do...but no more Mega-Ugly Penguin :-) And a clean bootup. Skruvhuvet -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [expert] boot up -- syntax error
On Tue, 19 Oct 1999, Benjamin Sher wrote: 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 # else # echo "Kernel $(uname -r) on $a $(uname -m)" /etc/issue fi echo "$R" /etc/issue Comment out (use a # in front of) the "fi" as well. -- Arandir... ___ http://www.meer.net/~arandir/
Re: [expert] boot up -- syntax error
Axalon Bloodstone wrote: BTW, you only have to rm -f /bin/linux_logo to be rid of that.. My custom has been to rename these things rather than delete them. Once deleted, they are gone for good. If you rename things, you can change your mind later. Good names would be: linux_logo.bak (traditional .bak for backup file) linux_logo.rfg (my initials. they remind me this is something that I did) -- Ramon Gandia = Sysadmin Nook Net http://www.nook.net [EMAIL PROTECTED] 285 West First Avenue tel. 907-443-7575 P.O. Box 970fax. 907-443-2487 Nome, Alaska 99762-0970 == Alaska Toll Free. 888-443-7525