Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-01-2004, 08:16 AM   #1
Registered: May 2003
Posts: 163

Rep: Reputation: 28
echo "blabla" in a script present present in /etc/rc.d/rc5.d/S96dinesh

Hello all,
I just created a link such as
[root@mun-co mun]# ll /etc/rc.d/rc5.d/S96dinesh
lrwxrwxrwx    1 root     root           26 Mar 31 23:42 /etc/rc.d/rc5.d/S96dinesh -> /etc/rc.d/init.d/S96dinesh
And the script is

case "$1" in
echo I like dinesh
echo Dinesh

But during start up I am getting
just starting dinesh
I am not getting "I like dinesh"
Can any body here explain here why I am not getting this
Whether the reason is that the user environment needs to be set for displaying on the terminal.
If that is the case
How can I achieve this ?

Thanks in advance,
Old 04-14-2009, 10:14 AM   #2
Registered: May 2003
Posts: 163

Original Poster
Rep: Reputation: 28
When I released the college (2003 May) I submitted this because I wanted to learn case-esac in shell script.
Now I searched "i like dinesh" in network which has given me this link:
http://<br /> http://www.linuxquest...p=851700<br />

$ ls -l /etc/rc.d/rc5.d/S96dinesh
lrwxrwxrwx 1 root root 26 Apr 14 20:49 /etc/rc.d/rc5.d/S96dinesh -> /etc/rc.d/init.d/S96dinesh

$ /etc/rc.d/rc5.d/S96dinesh start
I like dinesh

$ /etc/rc.d/rc5.d/S96dinesh stop

Thanks & Regards,
Murugesan Nagarajan
Old 04-14-2009, 12:49 PM   #3
Registered: Apr 2009
Posts: 108

Rep: Reputation: 24
I am not sure if I understand it correctly:
do you complain about your script's output not shown during startup?

As far as I know you need specific functions for that. On Fedora the source function library /etc/rc.d/init.d/functions is included for that purpose, especially the action() function. It handles the task of running and logging and assumably also displaying text output at boot time.

Last edited by Tinkster; 10-30-2010 at 03:25 PM.
Old 04-14-2009, 10:53 PM   #4
Registered: May 2003
Posts: 163

Original Poster
Rep: Reputation: 28
I just posted this to close this thread.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gaim : Warning :: "Older version present" koodoo Linux - Newbie 1 06-08-2005 11:39 PM
lilo -T video "Enable Screen Refresh bug is present." Tuttle Linux - Hardware 0 01-28-2005 07:12 PM
cdrecord error "medium not present" on LG IDE drive configured as SCSI. ColinLadyka Linux - Hardware 3 01-14-2005 01:37 PM
DVD wont mon't drive stays lit "no media present" aero402 Linux - Software 5 01-05-2005 09:25 PM
wireless drivers installed, card on lspci, "hardware NOT present" colindownes Linux - Wireless Networking 1 12-21-2004 06:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration