Initial commit.
This commit is contained in:
27
redhat-lsb/lsb_log_message
Executable file
27
redhat-lsb/lsb_log_message
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
. /etc/init.d/functions
|
||||
|
||||
ACTION=$1
|
||||
shift
|
||||
|
||||
case "$ACTION" in
|
||||
success)
|
||||
echo -n $*
|
||||
success "$*"
|
||||
echo
|
||||
;;
|
||||
failure)
|
||||
echo -n $*
|
||||
failure "$*"
|
||||
echo
|
||||
;;
|
||||
warning)
|
||||
echo -n $*
|
||||
warning "$*"
|
||||
echo
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
Reference in New Issue
Block a user