conf/distro/jlime-donkey.conf : Added parted & Dialog to distro_rdepends
[vuplus_openembedded] / packages / slugos-init / files / modulefunctions
1 #!/bin/sh
2 # . this file to load the functions for automatically loading modules
3
4 . /etc/default/functions
5
6 loaddiskmods(){
7         modprobe scsi_mod
8         modprobe sd_mod 
9         modprobe usbcore 
10         case "$(machine)" in
11             nslu2)                     
12                 modprobe ehci-hcd
13                 modprobe ohci-hcd
14                 ;;
15             nas100d)
16                 modprobe ehci-hcd
17                 modprobe uhci-hcd
18                 ;;
19
20         esac
21         modprobe usb-storage
22 }
23
24 loadnetmods(){
25         modprobe af_packet
26 }
27
28 loadmiscmods(){
29         modprobe ixp4xx_rng
30         modprobe i2c_dev
31 }
32