#!/bin/sh
#
# smupsd - Monitors an APC Smart-UPS under Linux.
# Copyright (c) 1996 Netsco, Inc.  All Rights Reserved.
# Written by David E. Myers <dem@netsco.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# See the file COPYING for details.
#
# NETSCO MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY
# OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT
# LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
# PARTICULAR PURPOSE, OR NON-INFRINGEMENT. NETSCO SHALL NOT BE LIABLE
# FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING,
# MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
#
# This program was inspired by these previous works:
#
# powerd by Miquel van Smoorenburg and Christian Holtje.
# apdc   by Pavel Korensky.
#
# $Log: upsmon,v $
# Revision 1.1  1997/01/16 19:45:58  dem
# Initial revision
#
#

# The UPS Monitor GUI is a Marimba Bongo application.
# The two zip files mentioned below are required.
# If you already have Bongo intalled, or have a more
# recent version, you may wish to modify the CLASSPATH
# below to use your copies of these files.

TOPDIR=/usr/lib/smupsd

CLASSPATH=${TOPDIR}:${TOPDIR}/marimba.zip:${TOPDIR}/bongo.zip
export CLASSPATH

exec java UpsMonitor $1
