-echo
-echo "Done! you may need to logout and login again for loading the configuration"
-echo " Run './openmano/scripts/service-openmano.sh start' for starting openmano in a screen"
+
+
+
+if [[ "$_DISTRO" == "Ubuntu" ]] && [[ ${_RELEASE%%.*} == 16 ]] && [[ -z $DEVELOP ]]
+then
+echo '
+#################################################################
+##### CONFIGURE OPENMANO SERVICE #####
+#################################################################'
+
+ ./openmano/scripts/install-service-openmano.sh -f openmano #-u $SUDO_USER
+# alias service-openmano="service openmano"
+# echo 'alias service-openmano="service openmano"' >> ${HOME}/.bashrc
+
+ echo
+ echo "Done! you may need to logout and login again for loading client configuration"
+ echo " Manage server with 'service openmano start|stop|status|...' "
+
+
+else
+
+ echo
+ echo "Done! you may need to logout and login again for loading client configuration"
+ echo " Run './openmano/scripts/service-openmano.sh start' for starting openmano in a screen"
+
+fi