#!/bin/sh
### BEGIN INIT INFO
# Provides:          Version Display
# Required-Start:    $local_fs $remote_fs $console-screen
# Required-Stop:     $local_fs $remote_fs
# Default-Start:     S 
# Default-Stop:      0 1 6
# Description:       This script displays the current version of the 6100 package.
# Short-Description:	This script displays the current version of the 6100 package.
### END INIT INFO

start()
{  
    export TMPDIR=/mnt/.psplash
    FIRMWARE_VERSION=$(dpkg -s 6100-svn | grep 'Version')
    psplash-write "MSG $FIRMWARE_VERSION"  
}

case "$1" in
    start)
	start
	;;
    *)
	echo "Usage: $SCRIPTNAME {start}" >&2
	exit 3
	;;

esac
