summaryrefslogtreecommitdiff
path: root/packages/slugos-init/files/initscripts/loadmodules.sh
blob: 1bc540a148c84178dfead143ab0f7cf2cd65ad9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# This script is used for loading modules required by SlugOS
# Currently, this script only supports the NSLU2

. /etc/default/functions # Load $(machine) function required
. /etc/default/modulefunctions

echo "Loading networking modules"
loadnetmods

echo "Loading usb storage modules"
loadusbmods

echo "Loading other modules"
loadmiscmods

exit 0