#!/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 /usr/bin/tpb -d ;; stop) killall tpb ;; restart|force-reload) killall tpb /usr/bin/tpb -d ;; *) echo "Usage: tpb {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0