diff --git a/restart-all b/restart-all deleted file mode 100755 index f76196f9..00000000 --- a/restart-all +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/zsh -p -# suid !! - -id - -echo "restarting the named (DNS) :" -kill -HUP `cat /var/run/named.pid` - -echo "restarting the DHCP : " -#kill -TERM `cat /var/run/dhcpd.pid` || true -#/usr/sbin/dhcpd -/etc/init.d/dhcp reload diff --git a/sendmail-vit-il b/sendmail-vit-il deleted file mode 100755 index a5e24a7d..00000000 --- a/sendmail-vit-il +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python -# -*- Python -*- - -# teste si notre sendmail fonctionne encore. - -from socket import * -import sys - -OK = 0 - -host = "localhost" -if len(sys.argv) > 1: - host = sys.argv[1] - -s = socket(AF_INET,SOCK_STREAM) -try: - s.connect(host,25) - data = s.recv(3) - OK = ("220" == data) - s.close() -except: - OK = 0 - -sys.exit(not OK)