aboutsummaryrefslogtreecommitdiffstats
path: root/usr/libexec/loadmodules
blob: 4fd167c4a75e7880524699d1459852cedd1ea2a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# Load other user-defined modules
for file in /etc/sysconfig/modules/*.modules ; do
  [ -x $file ] && $file
done

# Load modules (for backward compatibility with VARs)
if [ -f /etc/rc.modules ]; then
	/etc/rc.modules
fi