fix rt-setup post script on spec file
This commit is contained in:
parent
50f83519c5
commit
04c44aa7eb
@ -47,7 +47,7 @@ make DEST=%{buildroot} install
|
|||||||
%post
|
%post
|
||||||
/usr/sbin/groupadd -f -g 71 realtime
|
/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
|
then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
@ -60,7 +60,7 @@ kernel.hung_task_panic = 0
|
|||||||
EOF
|
EOF
|
||||||
fi
|
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
|
then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user