diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-02-17 20:56:52 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-02-17 20:56:52 +0100 |
commit | d3c90cdcdf56146af89056ed36bfcc7b4d4956c5 (patch) | |
tree | 501b20343861a704020ca37b8e65fd2211dcb353 /scripts/ipmiutil.setup | |
parent | ee6c7128ed0d58cb1812049463a13bba9cfb31b7 (diff) |
Imported Upstream version 2.9.8upstream/2.9.8
Diffstat (limited to 'scripts/ipmiutil.setup')
-rwxr-xr-x | scripts/ipmiutil.setup | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/ipmiutil.setup b/scripts/ipmiutil.setup index 9087021..0330a29 100755 --- a/scripts/ipmiutil.setup +++ b/scripts/ipmiutil.setup @@ -37,8 +37,13 @@ isetup() { retval=6 else # portmap may have been replaced by portreserve - [ -x $IPORTMAP ] || exit 6 - retval=0 + # only need ipmi_port if portmap exists + if [ -x $IPORTMAP ] + then + retval=0 + else + retval=6 + fi fi return $retval } |