watchdog: do not add watchdog module in rd.driver.pre now
Now dracut takes care to add module for active watchdog. Therefore we do not need to pass iTCO_wdt and lpc_ich module in rd.driver.pre specifically here. Signed-off-by: Pratyush Anand <panand@redhat.com> Acked-by: Dave Young <dyoung@redhat.com>
This commit is contained in:
parent
effd035e34
commit
344faf1a26
@ -729,12 +729,3 @@ install() {
|
||||
# at some point of time.
|
||||
kdump_check_iscsi_targets
|
||||
}
|
||||
|
||||
installkernel() {
|
||||
wdt=$(lsmod|cut -f1 -d' '|grep "wdt$")
|
||||
if [ -n "$wdt" ]; then
|
||||
[ "$wdt" = "iTCO_wdt" ] && instmods lpc_ich &&
|
||||
echo "rd.driver.pre=lpc_ich,iTCO_wdt " >> ${initdir}/etc/cmdline.d/00-wdt.conf
|
||||
instmods $wdt
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user