summaryrefslogtreecommitdiff
path: root/packages/openprotium-init/files/modulefunctions
blob: 430e376ad8c07a8cf4d691fd749aa0b0a0abdc7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
# "." this file, then call the appropriate routines to load modules
# you might need.  This is run from /etc/rcS.d/S21loadmodules.sh
# at boot time.  Possible examples are commented out, none of which
# are needed on openprotium since they are already in the kernel.

. /etc/default/functions


loaddiskmods(){
	:
#	modprobe scsi_mod
#	modprobe sd_mod 
#	modprobe usbcore 
#	case "$(machine)" in
#	    nslu2)                     
#	        modprobe ehci-hcd
#	        modprobe ohci-hcd
#		;;
#	esac
#	modprobe usb-storage
}

loadnetmods(){
	:
#	modprobe af_packet
#	case "$(machine)" in
#	    ixdp425|nslu2|nas100d)
#	        modprobe ixp4xx_mac
#	        ;;                     
#	esac
}

loadmiscmods(){
	:
#	modprobe ixp4xx_rng
#	modprobe i2c_dev
}