From 08b8849d1f2b1a383534f09b07dd10d64d4dc985 Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Wed, 13 Feb 2013 09:55:57 +0000 Subject: [PATCH] For now we just disable those scripts. We will rewrite them..later. --- tools/alternc_get_path | 2 ++ tools/top_ftp_users | 2 ++ tools/top_http_users | 2 ++ tools/top_mysql_users | 2 ++ 4 files changed, 8 insertions(+) diff --git a/tools/alternc_get_path b/tools/alternc_get_path index de3db962..5877f84d 100644 --- a/tools/alternc_get_path +++ b/tools/alternc_get_path @@ -1,5 +1,7 @@ #! /bin/sh -e +echo "This script is not working with this AlternC version" +exit 0 path="$1" account=`echo "$path" | sed 's#/var/alternc/html/./##' | cut -d '/' -f 1` relpath=`echo "$path" | sed 's#/var/alternc/html/./[^/]*##'` diff --git a/tools/top_ftp_users b/tools/top_ftp_users index 1446859f..27639718 100755 --- a/tools/top_ftp_users +++ b/tools/top_ftp_users @@ -27,6 +27,8 @@ # Purpose of file: Parse the ftp logs to give the n most active users # ---------------------------------------------------------------------- # +echo "This script does not work with this ALternC version." +exit 1 PATH="" PROG_NAME=top_ftp_users PROG_VERSION=0.1.0 diff --git a/tools/top_http_users b/tools/top_http_users index 2494225c..9cf3115c 100755 --- a/tools/top_http_users +++ b/tools/top_http_users @@ -27,6 +27,8 @@ # Purpose of file: Parse the apache logs to give the n most active users # ---------------------------------------------------------------------- # +echo "This script does not work with this AlternC version" +exit 1 PATH="" PROG_NAME=top_http_users PROG_VERSION=0.1.0 diff --git a/tools/top_mysql_users b/tools/top_mysql_users index 66274d49..bfceeef3 100755 --- a/tools/top_mysql_users +++ b/tools/top_mysql_users @@ -27,6 +27,8 @@ # Purpose of file: Parse the mysql logs to give the n most active users # ---------------------------------------------------------------------- # +echo "This script does not work with this AlternC version" +exit 1 PATH="" PROG_NAME=top_mysql_users PROG_VERSION=0.1.0