diff --git a/ldap1_connection.sh b/ldap1_connection.sh deleted file mode 100755 index f0562e2..0000000 --- a/ldap1_connection.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -# Script to check if LDAP connections are initialized - - - -# List LDAP connections without: -# LISTEN -# 129.20.123.1 server -ss_cmd=$(ss -laputen | grep ":389 " | grep -v 129.20.123.1 | grep -v LISTEN) - -# email recipient -mail_recip="jeremy.gardais@univ-rennes1.fr" - -if [ "${ss_cmd}" ]; then - ss -laputen | grep ":389 " | grep -v 129.20.123.1 | grep -v LISTEN | mail -s "LDAP1 connections" "${mail_recip}" -fi - -exit 0 diff --git a/mail2sesame b/ur/mail2sesame similarity index 100% rename from mail2sesame rename to ur/mail2sesame diff --git a/sesame2mail b/ur/sesame2mail similarity index 100% rename from sesame2mail rename to ur/sesame2mail