Pass || true to mount otherwise the support plugins does fail.
r47621
Otavio Salvador
16 years ago
0 | |
#!/bin/sh
|
|
0 |
#!/bin/sh -e
|
1 | 1 |
|
2 | 2 |
PLACES="$PLACES /cdrom/live/filesystem.ext2"
|
3 | 3 |
PLACES="$PLACES /cdrom/casper/filesystem.ext2" # Etch support
|
|
6 | 6 |
modprobe ext2 || true
|
7 | 7 |
|
8 | 8 |
mkdir -p /mnt
|
9 | |
umount /mnt > /dev/null 2>&1
|
|
9 |
umount /mnt > /dev/null 2>&1 || true
|
10 | 10 |
if ! mount -t ext2 -o loop $place /mnt; then
|
11 | 11 |
error "$place has failed to be mounted as ext2."
|
12 | 12 |
exit 1
|
0 | |
#!/bin/sh
|
|
0 |
#!/bin/sh -e
|
1 | 1 |
|
2 | 2 |
PLACES="$PLACES /cdrom/live/filesystem.ext3"
|
3 | 3 |
PLACES="$PLACES /cdrom/casper/filesystem.ext3" # Etch support
|
|
6 | 6 |
modprobe ext3 || true
|
7 | 7 |
|
8 | 8 |
mkdir -p /mnt
|
9 | |
umount /mnt > /dev/null 2>&1
|
|
9 |
umount /mnt > /dev/null 2>&1 || true
|
10 | 10 |
if ! mount -t ext3 -o loop $place /mnt; then
|
11 | 11 |
error "$place has failed to be mounted as ext3."
|
12 | 12 |
exit 1
|
0 | |
#!/bin/sh
|
|
0 |
#!/bin/sh -e
|
1 | 1 |
|
2 | 2 |
PLACES="$PLACES /cdrom/live/filesystem.squashfs"
|
3 | 3 |
PLACES="$PLACES /cdrom/casper/filesystem.squashfs" # Etch support
|
|
6 | 6 |
modprobe squashfs || true
|
7 | 7 |
|
8 | 8 |
mkdir -p /mnt
|
9 | |
umount /mnt > /dev/null 2>&1
|
|
9 |
umount /mnt > /dev/null 2>&1 || true
|
10 | 10 |
if ! mount -t squashfs -o loop $place /mnt; then
|
11 | 11 |
error "$place has failed to be mounted as squashfs."
|
12 | 12 |
exit 1
|