#!/bin/sh
#-------------------------------------------------------------------------------
# charon_menu_ncu
#-------------------------------------------------------------------------------
# Copyright (C) 2013-2022 STROMASYS.
# All rights reserved.
#
#set -x
VERSION=1.2

. `dirname $0`/charon_common
. `dirname $0`/charon_common_menu

display_header "Network Configuration Utility"
echo

if test `id -u` -ne 0
then
  tput bold
  echo "Must be root !"
  tput sgr0
  echo
  exit 1
fi

NCU="/opt/charon/bin/ncu"
if test -e ${NCU}
then
  ${NCU}
else
  tput bold
  echo "'ncu' is not installed on this server"
  tput sgr0
  echo
  Press_Enter
  exit 2
fi

exit
