aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lsb/lsb/init-functions
blob: bf424dde1c8294c82e08134e11f8a6f455d8f62a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh

# LSB initscript functions, as defined in the LSB Spec 1.1.0
#
# Lawrence Lim <llim@core.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/core-lsb/lsb_start_daemon "$@"
}

killproc () {
	/etc/core-lsb/lsb_killproc "$@"
}

pidofproc () {
	/etc/core-lsb/lsb_pidofproc "$@"
}

log_success_msg () {
	/etc/core-lsb/lsb_log_message success "$@"
}

log_failure_msg () {
	/etc/core-lsb/lsb_log_message failure "$@"
}

log_warning_msg () {
	/etc/core-lsb/lsb_log_message warning "$@"
}