#!/bin/sh
#

test -f /lib/lsb/init-functions || exit 1
. /lib/lsb/init-functions

case "$1" in
  start)
	/sbin/lsmod | /bin/grep nvram > /dev/null
        if [ $? != 0 ]
	then
		log_begin_msg "Loading nvram module"
		modprobe nvram
		log_end_msg 0
	fi
	tpb -d
	;;
  stop)
	;;
  restart|force-reload)
	;;
  *)
	echo "Usage: tpb {start|stop|restart|force-reload}" >&2
	exit 1
	;;
esac

exit 0
