diff options
Diffstat (limited to 'scripts/live-bottom/23etc_modules')
-rwxr-xr-x | scripts/live-bottom/23etc_modules | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/scripts/live-bottom/23etc_modules b/scripts/live-bottom/23etc_modules new file mode 100755 index 0000000..6eec342 --- /dev/null +++ b/scripts/live-bottom/23etc_modules @@ -0,0 +1,30 @@ +#! /bin/sh + +PREREQ="" +DESCRIPTION="Preconfiguring /etc/modules..." + +. /scripts/live-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 |