How can I get modules to load on reboot automatically?


Go to solution Solved by trurl,

Recommended Posts

Hi,

 

I am currently trialing UNRAID on a Dell Poweredge T430 that the fans are a bit loud on even with little load on the CPU with temps under 50c. I installed a container that controls the fan through the iDRAC controller but in order for the docker container to run I needed to install Nerd Tools with the ipmi plugin, and manually run modprobe ipmi_devintf and modprobe ipmi_si. 

 

The system is working great but the modprobe is not persisting after a reboot. How can I get this to persist after a reboot so that the docker container is in control after reboot; without my intervention?

 

-Cheers,

Link to comment

I've run things like that in the Go file:

 

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &

# Disable power button short press
cp boot/custom/scripts/acpi_handler.sh /etc/acpi

# Enable Intel Quick Sync hardware acceleration for plex
modprobe i915
chmod -R 777 /dev/dri

# Copy the VM icons for custom VM
cp boot/custom/icons/* /usr/local/emhttp/plugins/dynamix.vm.manager/templates/images

# Disable ACPI handler that locks up one core (deprecated?)
# echo "disable" > /sys/firmware/acpi/interrupts/gpe6F

# Enable FANCONTROL and copy conf file over to live system
# cp boot/custom/scripts/fancontrol /etc
# fancontrol &
# echo Enter

# Customise BASH coloring
cp boot/custom/scripts/.bashrc /root

# Install Sensor Drivers
modprobe coretemp
modprobe nct6775
/usr/bin/sensors -s
# modprobe lm75 - Old Mainboard

 

 

go

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.