#! /bin/sh

### BEGIN INIT INFO
# Provides:          network_pre
# Required-Start:    $local_fs
# Required-Stop:     $local_fs
# Should-Start:      
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6 
# Short-Description: prepairs the network configurations for the WGS
# Description:       prepairs the network configurations for the WGS
### END INIT INFO

set -e

. /lib/lsb/init-functions

case "$1" in
  start)
	  /opt/radac/scripts/network_check.sh
	;;
  stop)
	  /opt/radac/scripts/network_check.sh
	;;
  restart)
	  /opt/radac/scripts/network_check.sh
	;;

  status)
	;;
  *)
	echo "Usage: /etc/init.d/network_pre {start|stop|reload|restart|status}"
	exit 1
esac

exit 0
