search for: success_msg

Displaying 1 result from an estimated 1 matches for "success_msg".

2001 Feb 18
3
PATCH: Round 2: RH initscripts backward compatibility
...action(), or to display +# while performing action in compatibility mode +# $2 => message to display on success in compatibility mode +# $3 => message to display on failure in compatibility mode +my_action() { + local status + local msg="$(localized "$1")" + local success_msg="$(localized "$2")" + local failure_msg="$(localized "$3")" + shift 3 + case "$(type -type action)" in + function) + action "${msg}" "$@" + status=$? + ;; + *) + echo -n "${msg}" + "$@" && m...