#!/bin/bash
#
# short shellscript to use apcacess (from the apcupsd package) to read
# the line voltage from an APC UPS.
#
# author : Alexander Schreiber <als@thangorodrim.de>
# version: $Id: apc_time_left,v 1.1 2003/05/24 19:23:48 als Exp $
#

/sbin/apcaccess status|grep ^TIMELEFT|awk '{print $3}'|sed s/\\..*//
echo 0
echo 0

