anaconda/anaconda-40.22.3.13/dracut/anaconda-set-kernel-hung-timeout.sh
2024-11-14 21:39:56 -08:00

9 lines
296 B
Bash

#!/bin/sh
# anaconda-set-kernel-hung-timeout.sh - set kernel hung timeout value
# Used for VM guests in kickstart tests (#1633549)
hung_timeout=$(getarg inst.kernel.hung_task_timeout_secs=)
if [ -n "$hung_timeout" ]; then
echo "${hung_timeout}" > /proc/sys/kernel/hung_task_timeout_secs
fi