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
|
||||
/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
|
||||
|
Loading…
Reference in New Issue
Block a user