#!/bin/sh -e
#DEBHELPER#


# script for setting up device node and module alias 
# (see src/Makefile.in (make install)
if [ "`ls -l /dev/toshiba 2>/dev/null | awk '{print $$6}'`" != "181" ] ; then
   if [ -x /sbin/MAKEDEV ] ; then
      rm -f /dev/toshiba ; 
      cd /dev; 
      /sbin/MAKEDEV toshiba ;
   fi
fi

# note, the toshiba module entry in /etc/modutils/toshutils (for /etc/modules.conf)
# is handled by debian/modules with help from debhelper
