summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot.rc/playbeep.sh
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-04-16 12:31:48 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-16 12:31:48 +0000
commite548219776e8934492025573169b3c5e2f8a79d1 (patch)
treec5068fd0be7c949a855d3ca95c9cde4d1cd3735a /packages/altboot/files/altboot.rc/playbeep.sh
parenta20617a89a744f4521065324ebe33811a036b098 (diff)
altboot: - Fix image_reconf to propperly mount /home.flash
- Add another bunch of missing redirects for Collie - Work around error message of playbeep.sh on first-boot - Re-enable propper failsafe fallthroughs in init.altboot
Diffstat (limited to 'packages/altboot/files/altboot.rc/playbeep.sh')
-rw-r--r--packages/altboot/files/altboot.rc/playbeep.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/altboot/files/altboot.rc/playbeep.sh b/packages/altboot/files/altboot.rc/playbeep.sh
index 198a87429f..6cc5b8bcdf 100644
--- a/packages/altboot/files/altboot.rc/playbeep.sh
+++ b/packages/altboot/files/altboot.rc/playbeep.sh
@@ -6,9 +6,9 @@
# Filename: playbeep.sh
# Date: 12-Apr-06
-if test -x /usr/sbin/alsactl
+if test -x /usr/sbin/alsactl -a -e /etc/modules
then
- for module in `cat /etc/modules | grep snd | grep -v ^#`
+ for module in `cat /etc/modules | grep snd | grep -v ^#`
do
#echo "loading $module"
modprobe $module
@@ -30,3 +30,5 @@ then
test -e /usr/share/sounds/beep.raw && cat /usr/share/sounds/beep.raw > /dev/dsp
fi
+
+/bin/true