From 04c44aa7ebc6fc675fb187b0b29ec934b416a75e Mon Sep 17 00:00:00 2001 From: Yoshiaki Senda Date: Wed, 15 Mar 2023 19:38:36 +0000 Subject: [PATCH] fix rt-setup post script on spec file --- rt-setup.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rt-setup.spec b/rt-setup.spec index b42086d..1c42dee 100644 --- a/rt-setup.spec +++ b/rt-setup.spec @@ -47,7 +47,7 @@ make DEST=%{buildroot} install %post /usr/sbin/groupadd -f -g 71 realtime -if grep kernel.hung_task_panic /etc/sysctl.conf >/dev/null 2>&1 +if grep kernel.hung_task_panic /etc/sysctl.conf /etc/sysctl.d/* >/dev/null 2>&1 then : else @@ -60,7 +60,7 @@ kernel.hung_task_panic = 0 EOF fi -if grep kernel.hung_task_timeout_secs /etc/sysctl.conf >/dev/null 2>&1 +if grep kernel.hung_task_timeout_secs /etc/sysctl.conf /etc/sysctl.d/* >/dev/null 2>&1 then : else