#!/bin/sh -e

if [ "$1" = "configure" ]; then
    if [ -z "$2" ]; then
        if [ -x /usr/sbin/services.sh ]; then
            grep --silent bp3 /etc/fastservices || \
                echo bp3 >> /etc/fastservices
        fi
	update-rc.d bp3 defaults > /dev/null
    fi
fi

invoke-rc.d bp3 start
