diff options
author | Matthias Hentges <oe@hentges.net> | 2005-08-09 15:30:31 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-09 15:30:31 +0000 |
commit | 7932f599f2e825c26e85a3ed5b713bc7c35b2ede (patch) | |
tree | f6a360059d75d70490c3a94278be4de32d94c709 /packages/altboot/files/spitz/altboot-menu | |
parent | f603ad225becb7149cfde643c3f868dd4db275db (diff) |
altboot: Lots and lots of Spitz adjustments, courtesy of JustinP
Diffstat (limited to 'packages/altboot/files/spitz/altboot-menu')
-rw-r--r-- | packages/altboot/files/spitz/altboot-menu/00-Default | 9 | ||||
-rw-r--r-- | packages/altboot/files/spitz/altboot-menu/10-noGui | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/packages/altboot/files/spitz/altboot-menu/00-Default b/packages/altboot/files/spitz/altboot-menu/00-Default index c18633a136..06ed038473 100644 --- a/packages/altboot/files/spitz/altboot-menu/00-Default +++ b/packages/altboot/files/spitz/altboot-menu/00-Default @@ -21,9 +21,14 @@ run_module() { # Note: Redirecting STDIN & STDOUT is required, cardmg will die otherwise cardmgr -o < /dev/tty0 > /dev/tty0 2>&1 || echo "cardmgr -o failed!" + + check_fs $SPITZ_HDD_PART $SPITZ_HDD_TYPE + if [ "$SPITZ_HDD_TYPE" = "" ]; then + SPITZ_HDD_TYPE="auto" + fi # I've seen busybox die a horrible death on "!"... - if (mount -t auto $SPITZ_HDD_PART /media/hdd) + if (mount -t $SPITZ_HDD_TYPE $SPITZ_HDD_PART /media/hdd) then a=a else @@ -35,7 +40,7 @@ run_module() { # with CF) for n in 1 2 3 4 5 do - mknod /dev/loop$n b 7 $n + ! test -e /dev/loop$n && mknod /dev/loop$n b 7 $n done # Check for /sbin/init and / or loop-images diff --git a/packages/altboot/files/spitz/altboot-menu/10-noGui b/packages/altboot/files/spitz/altboot-menu/10-noGui index 3f1ce81fd5..e4e8b0fe37 100644 --- a/packages/altboot/files/spitz/altboot-menu/10-noGui +++ b/packages/altboot/files/spitz/altboot-menu/10-noGui @@ -33,7 +33,7 @@ run_module() { # with CF) for n in 1 2 3 4 5 do - mknod /dev/loop$n b 7 $n + ! test -e /dev/loop$n && mknod /dev/loop$n b 7 $n done # Check for /sbin/init and / or loop-images |