summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 89eedea..a504c0c 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1585,23 +1585,6 @@ sed -e "s% /sbin/depmod -%#&%" -i ${LIVE_ROOTDIR}/etc/rc.d/rc.modules
# If we detect a NVIDIA driver, then run the nvidia install routine:
cat <<EOT >> ${LIVE_ROOTDIR}/etc/rc.d/rc.local
-# Find out if the user enabled any optional/addon kernel modules:
-RUN_DEPMOD=0
-for MOD in \$(losetup -l |grep -E "optional|addons" |tr -s ' ' |cut -d' ' -f6)
-do
- if [ -d /mnt/live/modules/\$(basename \$MOD .sxz)/lib/modules/\$(uname -r)/ ]
- then
- # Found kernel modules directory; we need to make a 'depmod' call.
- RUN_DEPMOD=1
- fi
-done
-if [ \$RUN_DEPMOD -eq 1 ]; then
- # This costs a few seconds in additional boot-up time unfortunately:
- echo "A bit of patience while we register your new kernel module(s)..."
- /sbin/depmod -a
-fi
-unset RUN_DEPMOD
-
# Deal with the presence of NVIDIA drivers:
if [ -x /usr/sbin/nvidia-switch ]; then
if [ -f /usr/lib${DIRSUFFIX}/xorg/modules/extensions/libglx.so.*-nvidia -a -f /usr/lib${DIRSUFFIX}/xorg/modules/drivers/nvidia_drv.so ]; then