#!/bin/sh

### BEGIN INIT INFO
# Provides:        pvebanner
# Required-Start:  $all
# Required-Stop:
# Default-Start:   2 3 4 5
# Default-Stop:
# Short-Description: print PVE banner
### END INIT INFO

. /lib/lsb/init-functions

PATH=/sbin:/bin:/usr/bin:/usr/sbin

test -f /usr/bin/pvebanner || exit 0

test -f /etc/lsb-base-logging.sh || echo "FANCYTTY=0" >/etc/lsb-base-logging.sh 

case "$1" in
    start)
	pvebanner
	;;
    stop|restart|force-reload)
	exit 1
	;;
    *)
	echo "Usage: /etc/init.d/pvebanner {start}"
	exit 1
	;;
esac

exit 0
