summaryrefslogtreecommitdiff
path: root/scripts/ipmiutil.setup
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ipmiutil.setup')
-rwxr-xr-xscripts/ipmiutil.setup9
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
}