summaryrefslogtreecommitdiff
path: root/packages/slugos-init/files/modulefunctions
blob: dbb9ab51d3b40fd74a0488a64919e05f157e8cc5 (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
#!/bin/sh
# . this file to load the functions for automatically loading modules

. /etc/default/functions

loaddiskmods(){
	case "$(machine)" in
	    nslu2)                     
	        modprobe ohci-hcd
		;;
            nas100d)
                modprobe pata-artop
                modprobe uhci-hcd
                ;;
            dsmg600)
                modprobe pata-artop
                modprobe uhci-hcd
                ;;

	esac
}

loadnetmods(){
	true
}

loadmiscmods(){
	true
}