|
|
ef9520 |
From a7707dfd7b1f993b695cdec6c1f2713ba6f98e1a Mon Sep 17 00:00:00 2001
|
|
|
ef9520 |
From: "Luis Claudio R. Goncalves" <lgoncalv@redhat.com>
|
|
|
ef9520 |
Date: Mon, 29 Dec 2014 23:54:00 -0200
|
|
|
ef9520 |
Subject: [PATCH] adjusted startup script messages
|
|
|
ef9520 |
|
|
|
ef9520 |
Related: rhbz#1162768
|
|
|
ef9520 |
|
|
|
ef9520 |
Signed-off-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com>
|
|
|
ef9520 |
---
|
|
|
ef9520 |
rtctl.service | 2 +-
|
|
|
ef9520 |
rtctl.spec | 5 ++++-
|
|
|
ef9520 |
rtctl_wrapper | 2 +-
|
|
|
ef9520 |
3 files changed, 6 insertions(+), 3 deletions(-)
|
|
|
ef9520 |
|
|
|
ef9520 |
diff --git a/rtctl.service b/rtctl.service
|
|
|
ef9520 |
index b036b75..b4e91f5 100644
|
|
|
ef9520 |
--- a/rtctl.service
|
|
|
ef9520 |
+++ b/rtctl.service
|
|
|
ef9520 |
@@ -1,5 +1,5 @@
|
|
|
ef9520 |
[Unit]
|
|
|
ef9520 |
-Description=Sets the real-time priority of kernel threads
|
|
|
ef9520 |
+Description=kernel threads real time priority setup
|
|
|
ef9520 |
After=syslog.target
|
|
|
ef9520 |
|
|
|
ef9520 |
## Not a daemon
|
|
|
ef9520 |
diff --git a/rtctl.spec b/rtctl.spec
|
|
|
ef9520 |
index 7e3bd72..4c99637 100644
|
|
|
ef9520 |
--- a/rtctl.spec
|
|
|
ef9520 |
+++ b/rtctl.spec
|
|
|
ef9520 |
@@ -1,6 +1,6 @@
|
|
|
ef9520 |
Name: rtctl
|
|
|
ef9520 |
Version: 1.13
|
|
|
ef9520 |
-Release: 1%{?dist}
|
|
|
ef9520 |
+Release: 2%{?dist}
|
|
|
ef9520 |
Summary: Scripts for controlling scheduling priorities of system threads
|
|
|
ef9520 |
Group: Applications/System
|
|
|
ef9520 |
License: GPL
|
|
|
ef9520 |
@@ -47,6 +47,9 @@ systemctl disable rtctl
|
|
|
ef9520 |
fi
|
|
|
ef9520 |
|
|
|
ef9520 |
%changelog
|
|
|
ef9520 |
+* Mon Dec 29 2014 Luis Claudio R. Goncalves <lgoncalv@redhat.com> - 1.13-2
|
|
|
ef9520 |
+- adjusted startup script messages (1162768)
|
|
|
ef9520 |
+
|
|
|
ef9520 |
* Tue Dec 23 2014 Luis Claudio R. Goncalves <lgoncalv@redhat.com> - 1.13-1
|
|
|
ef9520 |
- make startup logic compatible with systemd (1162768)
|
|
|
ef9520 |
- product name cleanup (1173311)
|
|
|
ef9520 |
diff --git a/rtctl_wrapper b/rtctl_wrapper
|
|
|
ef9520 |
index def4387..070ac41 100755
|
|
|
ef9520 |
--- a/rtctl_wrapper
|
|
|
ef9520 |
+++ b/rtctl_wrapper
|
|
|
ef9520 |
@@ -9,6 +9,7 @@ on_rt () {
|
|
|
ef9520 |
|
|
|
ef9520 |
# exit if not on a realtime kernel
|
|
|
ef9520 |
if ! on_rt; then
|
|
|
ef9520 |
+ echo "Not running on a RHEL-RT kernel!"
|
|
|
ef9520 |
exit 0
|
|
|
ef9520 |
fi
|
|
|
ef9520 |
|
|
|
ef9520 |
@@ -42,7 +43,6 @@ if [ "$CPUSPEED" = "off" ] && service_running cpuspeed; then
|
|
|
ef9520 |
disable_service cpuspeed
|
|
|
ef9520 |
fi
|
|
|
ef9520 |
|
|
|
ef9520 |
-echo -n $"Setting kernel thread priorities: "
|
|
|
ef9520 |
rtctl reset
|
|
|
ef9520 |
RET=$?
|
|
|
ef9520 |
exit $RET
|
|
|
ef9520 |
--
|
|
|
ef9520 |
2.1.0
|
|
|
ef9520 |
|