#!/bin/bash
#
# touchpad  Configure touchpad
# chkconfig: 35 84 84
# description: Startup script to disable touchpad tapping \
#              for Synaptics or ALPS touchpads.
#
# $Log$
#
# $Id$
#
#

# Source function library.
. /etc/init.d/functions


case "$1" in
start) 
       echo ""
       echo -n "Turning off Touch-Pad 'tapping' "

       if [ -f /usr/bin/tpconfig ]; then
         /usr/bin/tpconfig --tapmode=0
         if [ $? ]; then
           echo_success
         else
           echo_failure
         fi
       else
         echo_failure
       fi
       ;;
        
stop) 
      echo_success
      ;;
      

restart) 
      echo_success
      ;;
        
esac
exit 0
