From 344faf1a26fc6f675f74c73f5e60c3f078af4947 Mon Sep 17 00:00:00 2001 From: Pratyush Anand Date: Wed, 20 Jul 2016 23:42:23 +0530 Subject: [PATCH] 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 Acked-by: Dave Young --- dracut-module-setup.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh index aa204f8..f5c0218 100755 --- a/dracut-module-setup.sh +++ b/dracut-module-setup.sh @@ -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 -}