path: root/rc.sysinit
diff options
authorTom Gundersen <teg@jklm.no>2012-03-17 10:30:25 (GMT)
committerTom Gundersen <teg@jklm.no>2012-03-17 10:30:25 (GMT)
commit4c6aba5ab3812523e65806c2876035b4498aad2e (patch)
tree6d21bf580d8efc007be58ef6c1b01db1b242d14f /rc.sysinit
parentcb1ddfc15431f2e6498c93cd4da53e14f1147659 (diff)
sysinit: do not unconditionally modprobe any more
dm-mod and dm-crypt will be autoloaded when needed (at least on kernels newer than 2.6.36). The rtc modules should be compiled in, as they have been in the official kernels for some time. Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
1 files changed, 0 insertions, 3 deletions
diff --git a/rc.sysinit b/rc.sysinit
index ddac829..06b4bda 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -54,8 +54,6 @@ esac
if [[ $HWCLOCK_PARAMS ]]; then
stat_busy "Adjusting system time and setting kernel timezone"
- # enable rtc access
- modprobe -q -a rtc-cmos rtc genrtc
# Adjust the system time for timezone offset if rtc is not in UTC
# 1. Make creation time on device nodes sane (FS#8665)
@@ -91,7 +89,6 @@ activate_vgs
# Set up non-root encrypted partition mappings
if [[ -f /etc/crypttab ]] && type -p cryptsetup >/dev/null; then
stat_busy "Unlocking encrypted volumes:"
- modprobe -q dm-crypt 2>/dev/null
do_unlock() {
# $1 = requested name
# $2 = source device