summaryrefslogtreecommitdiff
path: root/packages/altboot/files/init.altboot
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2005-08-09 15:30:31 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-09 15:30:31 +0000
commit7932f599f2e825c26e85a3ed5b713bc7c35b2ede (patch)
treef6a360059d75d70490c3a94278be4de32d94c709 /packages/altboot/files/init.altboot
parentf603ad225becb7149cfde643c3f868dd4db275db (diff)
altboot: Lots and lots of Spitz adjustments, courtesy of JustinP
Diffstat (limited to 'packages/altboot/files/init.altboot')
-rw-r--r--packages/altboot/files/init.altboot4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/altboot/files/init.altboot b/packages/altboot/files/init.altboot
index 57560b8326..26b4639ccd 100644
--- a/packages/altboot/files/init.altboot
+++ b/packages/altboot/files/init.altboot
@@ -252,7 +252,9 @@ else
# Execute scripts in /etc/altboot.rc before doing anything else.
# Required for special situations, like booting spitz
- for file in `ls -1 /etc/altboot.rc/*.sh` >/dev/null 2>&1
+ RC_FILES=`ls /etc/altboot.rc | grep \\\\.sh$`
+
+ for file in $RC_FILES
do
. $file >/dev/tty1 2>&1 || echo "/etc/altboot.rc/$file failed!"
done