@If you want to install this /lib/lsb/init-functions on the linux?
@Just install below this.
$ yum install redhat-lsb
@=======================================
#!/bin/sh
# LSB initscript functions, as defined in the LSB Spec 1.1.0
#
# Lawrence Lim <llim@redhat.com> - Tue, 26 June 2007
# Updated to the latest LSB 3.1 spec
# http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic_lines.txt
start_daemon () {
/etc/redhat-lsb/lsb_start_daemon "$@"
}
killproc () {
/etc/redhat-lsb/lsb_killproc "$@"
}
pidofproc () {
/etc/redhat-lsb/lsb_pidofproc "$@"
}
log_success_msg () {
/etc/redhat-lsb/lsb_log_message success "$@"
}
log_failure_msg () {
/etc/redhat-lsb/lsb_log_message failure "$@"
}
log_warning_msg () {
/etc/redhat-lsb/lsb_log_message warning "$@"
}
No comments:
Post a Comment