Hi,

Ricardo F <ri...@hotmail.com> writes:
> Tuptime count the system restarts and total uptime that the system is
> active, save it between restarts. You can add to its configuration
> file names of pieces of hardware and show you the total uptime since
> this hardware is plugin. When you remove hardware, tuptime can show a
> historically time in the output. Finally, it calculate the medium
> uptime for the system and print it in the output.

Just a quick comment: If you intend to use

http://tuptime.svn.sourceforge.net/viewvc/tuptime/tuptime-1.5.0/files/tuptime.init.d-debian?revision=49&view=markup

as the init.d -script please note that it fails if the package is
removed but not purged. You need to check if $SCRIPT exists.

See e.g. /etc/init.d/skeleton for


# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0


-Timo



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/84ei0v7z3r....@sauna.l.org

Reply via email to