Removed hard dependency on IBM's JVM.
This commit is contained in:
@@ -90,7 +90,16 @@ StartDAEMON()
|
||||
|
||||
# Start the daemon
|
||||
echo -n "Starting casa_atvd..."
|
||||
$START_DAEMON_CMD $START_DAEMON_CMD_FLAG $DAEMON_USER $DAEMON -d
|
||||
if [ "${JVM_VER}" = "SUN" ]; then
|
||||
# We need to specify the single-threaded option :-( due to Sun's
|
||||
# JVM bug (Bug 221420). This will be changed once the issue is
|
||||
# resolved.
|
||||
echo "Starting daemon using single threaded mode :-("
|
||||
$START_DAEMON_CMD $START_DAEMON_CMD_FLAG $DAEMON_USER $DAEMON -d -s
|
||||
else
|
||||
$START_DAEMON_CMD $START_DAEMON_CMD_FLAG $DAEMON_USER $DAEMON -d
|
||||
fi
|
||||
|
||||
RVAL=$?
|
||||
$ECHO
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user