Hello all,
I just created a link such as
Code:
[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
#!/bin/bash
case "$1" in
start)
echo I like dinesh
;;
stop)
echo Dinesh
;;
esac
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,
Murugesan