Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
case "$1" in
echo -n $"Starting $prog: HELLO! "
# Forcing a failure to stderr
# echo " "
# If a nVIDIA card is installed...
if [ $( grep -qi nvidia /proc/pci && echo 1 || echo 0 ) = 1 ]
#if driver is not installed...
if [ ! -f /usr/bin/nvidia-installer ]
echo "Configuring nVIDIA accelerated driver..."
My problem is that I want my 'echo's to show up on the screen during boot, and the crazy thing is that I have two versions of this script, one that works, echos out the "Sarting nvconfig: HELLO!" and "Configuring nVIDIA ..." and one script that doesn't. The CRAZY thing is the only difference between the two, is that the script that doesn't work is missing the two commented out lines: # Forcing ... and # echo " "
Can anyone explain what's going on? How can I make sure my echo's and stderr output goes the screen?