#!/bin/sh

ANSWER="/tmp/xtest-answer"

if /usr/bin/montest ;then
    echo "0" >"$ANSWER"
    exit 0
else
    echo "1" >"$ANSWER"
    exit 1
fi
