Hi..
When i refered the script /etc/rc.sysinit...
i found the "action commands" like
But this is not working in my shells..
the following error is coming...
Please anybody help
Thanks in advance
esham
Hi..
When i refered the script /etc/rc.sysinit...
i found the "action commands" like
But this is not working in my shells..
the following error is coming...
Please anybody help
Thanks in advance
esham
Please post your OS and version. Also, is the example given,
the one that is failing or is it some other line? Please provide the line that is failing and explain
Also see rc.sysinit script
My OS is RedHAT 9 kernel 2.6.10
what my problem is that i need to implement that [ OK ] like functionality in my script ..
so i refered the rc.sysinit so i found that its some command like "action" doing this..
If iam wrong,pls correct me...
esham
it looks like that 'action' command is a fuction defined somewhere in another script ...
here is it, partner... action is a function defined on /etc/rc.d/init.d/functions
# Run some action. Log its output.
action() {
STRING=$1
echo -n "$STRING "
shift
initlog $INITLOG_ARGS -c "$*" && success $"$STRING" || failure $"$STRING"
rc=$?
echo
return $rc
}
I've found this on a RedHat 7.1, I'm pretty sure that is the same on your RH9
Thank you very much for the support...