diff options
author | Thomas Orgis | 2006-11-02 20:12:10 +0100 |
---|---|---|
committer | Jeremy Blosser | 2007-01-21 01:41:24 -0600 |
commit | 6dd035c985e5fe3f8e4288f0c6f73c14c9991308 (patch) | |
tree | f3e4bf622ed549531f1871d9ceda367f74565815 | |
parent | d2d735a516812ff647e2bab0d8a15edc5776d490 (diff) |
dmsetup in init.d/mountall.sh failing is not fatal (simply no dm in kernel), so omit the retval check
-rw-r--r-- | smgl/init.d/HISTORY | 4 | ||||
-rwxr-xr-x | smgl/init.d/init.d/mountall.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/smgl/init.d/HISTORY b/smgl/init.d/HISTORY index 83cacfd6f4..1775f391c1 100644 --- a/smgl/init.d/HISTORY +++ b/smgl/init.d/HISTORY @@ -5,6 +5,10 @@ * CONFIGURE: fix #9772, restore the DEVICE settings for the second cast added missing && +2006-11-02 Thomas Orgis <sobukus@sourcemage.org> + * init.d/mountall.sh: device mapper may simply fail because no kernel + support, so don't bother for error code (spurious red on bood) + 2006-10-29 Thomas Orgis <sobukus@sourcemage.org> * init.d/mountall.sh: add discovery of device mapper nodes (p.ex. crypto swap set up in initramfs) diff --git a/smgl/init.d/init.d/mountall.sh b/smgl/init.d/init.d/mountall.sh index 605082bc59..ff18c66258 100755 --- a/smgl/init.d/init.d/mountall.sh +++ b/smgl/init.d/init.d/mountall.sh @@ -68,8 +68,8 @@ start() if optional_executable /sbin/dmsetup then echo "(re)creating device mapper nodes" + # won't check retval because kernel just may lack device mapper /sbin/dmsetup mknodes - evaluate_retval fi if optional_executable /sbin/vgscan && optional_executable /sbin/vgchange ; then |