#!/bin/sh

export version="r21"

# To save writting a config file parser, we just use
# the shell to set environment variables that we
# can read.
. /etc/ubootchart/ubootchart.conf

if [ $$ -eq 1 ]; then
  ####################################################
  # Now start capturing the stats:
  ####################################################
  /sbin/ubootchartd_bin &
fi

exec $init_prog "$@"
