SVN: rc-scripts/trunk/rc.d/rc.sysinit
glen
glen at pld-linux.org
Wed Jun 12 00:19:50 CEST 2013
Author: glen
Date: Wed Jun 12 00:19:50 2013
New Revision: 12695
Modified:
rc-scripts/trunk/rc.d/rc.sysinit
Log:
modprobe cache: cache only wanted params
Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit (original)
+++ rc-scripts/trunk/rc.d/rc.sysinit Wed Jun 12 00:19:50 2013
@@ -45,7 +45,9 @@
echo "$modprobe_c_cache"
return
fi
- modprobe_c_cache=$(modprobe -c)
+
+ # filter only what is wanted by this script: aliases and options
+ modprobe_c_cache=$(modprobe -c | grep -E '^(alias|options)')
}
# parse kernel cmdline
More information about the pld-cvs-commit
mailing list