"action" is a shell scripted function, not a program:
Code:
# 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
}
you should have this chunk of code in /etc/init.d/functions or similar, check to see if there's anything there like it. Have you upgraded this from somewhere? check some other scripts for the use of the action function... it's pretty common, also check that the sript file is sourcing the functions properly:
my kudzu script contains:
# Source function library.
. /etc/rc.d/init.d/functions
i wouldn't really recommend manually editing them however