#!/bin/bash
#
# modules Remove the kernel loadable modules if called with any argument 
#

RETVAL=0
RC=0

# See how we were called.
  
. /etc/rc.d/init.d/functions
. /etc/rc.d/init.d/init_functions
. /etc/profile.d/SetNNEnvVar.sh

start() {
        stop
        return 0 
}

stop() {
        /etc/rc.d/init.d/nn_modules stop
        return 0 
}        

restart() {
        stop
}        

reload() {
        restart
}        

case "$1" in
  start)
          start
        ;;
  stop)
          stop
        ;;
  restart)
          restart
        ;;
  reload)
          reload
        ;;
  condrestart)
          [ -f /var/lock/subsys/$prog ] && restart || :
        ;;
  *)
        echo $"Usage: $0 {start|stop|reload|restart|condrestart}"
        exit 1
esac

exit $?
