mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Add missing sd_log_warning_msg function to initscripts that were missing it.
Get rid of dependency on subdomain-master package.
This commit is contained in:
parent
57761032f9
commit
d67b4ca48d
4 changed files with 16 additions and 3 deletions
|
@ -35,9 +35,6 @@ Prereq: sed
|
|||
%if %{distro} == "suse"
|
||||
Prereq: %{insserv_prereq} aaa_base
|
||||
%endif
|
||||
%if %{distro} == "rhel4"
|
||||
Prereq: apparmor-master
|
||||
%endif
|
||||
Obsoletes: subdomain_parser subdomain-parser
|
||||
Obsoletes: subdomain-parser-demo subdomain-parser-common subdomain-leaf-cert
|
||||
Obsoletes: libimnxcert
|
||||
|
|
|
@ -66,6 +66,11 @@ sd_log_failure_msg() {
|
|||
echo ": Failed."
|
||||
}
|
||||
|
||||
sd_log_skipped_msg() {
|
||||
[ -n "$1" ] && echo -n $1
|
||||
echo ": Skipped."
|
||||
}
|
||||
|
||||
usage() {
|
||||
echo "Usage: $0 {start|stop|restart|try-restart|reload|force-reload|status|kill}"
|
||||
}
|
||||
|
|
|
@ -65,6 +65,12 @@ sd_log_warning_msg() {
|
|||
echo
|
||||
}
|
||||
|
||||
sd_log_skipped_msg() {
|
||||
echo -n "$*"
|
||||
warning
|
||||
echo
|
||||
}
|
||||
|
||||
sd_log_failure_msg() {
|
||||
echo -n "$*"
|
||||
failure
|
||||
|
|
|
@ -51,6 +51,11 @@ sd_log_failure_msg() {
|
|||
echo ": Failed."
|
||||
}
|
||||
|
||||
sd_log_skipped_msg() {
|
||||
[ -n "$1" ] && echo -n $1
|
||||
echo ": Skipped."
|
||||
}
|
||||
|
||||
usage() {
|
||||
echo "Usage: $0 {start|stop|restart|try-restart|reload|force-reload|status|kill}"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue