summaryrefslogtreecommitdiff
path: root/scripts/casper-bottom/23etc_modules
blob: 754a83246ba6c9dfa01f58d067a540bf681ebc3b (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

PREREQ=""
DESCRIPTION="Preconfiguring /etc/modules..."

. /scripts/casper-functions

prereqs()
{
       echo "$PREREQ"
}

case $1 in
# get pre-requisites
prereqs)
       prereqs
       exit 0
       ;;
esac

log_begin_msg "$DESCRIPTION"

case "$DPKG_ARCH" in
# load the right modules
powerpc|ppc64)
        echo snd_powermac >> /root/etc/modules
	;;
esac

log_end_msg