#!/bin/sh
#
# init camera in user space
#

FW_SENSOR_FILE=/var/log/fw_sensor_pncode

[ -f $FW_SENSOR_FILE ] || exit 0

. $FW_SENSOR_FILE

case "$FW_SENSOR" in
	0[Pp])
		/opt/nss/bin/tw9900_mdin27x -p
		;;
	0[Nn])
		/opt/nss/bin/tw9900_mdin27x -n
		;;
	*)
		;;
esac

exit 0
