[Initng-svn] r3804 - initng/trunk
svn at initng.thinktux.net
svn at initng.thinktux.net
Fri Apr 14 12:26:39 CEST 2006
Author: jimmy
Date: Fri Apr 14 12:26:36 2006
New Revision: 3804
Modified:
initng/trunk/CMakeLists.txt
initng/trunk/count_me.sh
Log:
Add count_me.sh to CMakeLits.txt
Modified: initng/trunk/CMakeLists.txt
==============================================================================
--- initng/trunk/CMakeLists.txt (original)
+++ initng/trunk/CMakeLists.txt Fri Apr 14 12:26:36 2006
@@ -81,6 +81,7 @@
OPTION(DEBUG "Build with developer tools, turns on additional warnings and Werror" ON)
OPTION(SELINUX "Enable SELinux" OFF)
OPTION(OLDSELINUX "Enable Legacy SELinux" OFF)
+OPTION(COUNT_ME "Send a simple http reqest to initng server, with initng version data to count initng users out there" ON)
IF(DEBUG)
@@ -95,6 +96,10 @@
ADD_DEFINITIONS(-DDEBUG -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wimplicit -Wredundant-decls -Wnested-externs -Wwrite-strings -Wsign-compare -Winline -Wswitch -Wreturn-type -Wparentheses -Wmissing-braces -Wformat -Wformat-nonliteral -Wformat-security -Wsequence-point -Wundef -Wunused -Wcomment)
ENDIF(DEBUG)
+IF(COUNT_ME)
+ EXEC_PROGRAM(${CMAKE_CURRENT_SOURCE_DIR}/count_me.sh)
+ENDIF(COUNT_ME)
+
CONFIGURE_FILE(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
Modified: initng/trunk/count_me.sh
==============================================================================
--- initng/trunk/count_me.sh (original)
+++ initng/trunk/count_me.sh Fri Apr 14 12:26:36 2006
@@ -60,14 +60,14 @@
If this is a privacy problem for you, you should press CTRL-C NOW!
-You got 15 seconds to reject by pressing Ctrl + C
+You got 2 seconds to reject by pressing Ctrl + C
$(echo -ne "\a")
Please also go to http://users.initng.org/ and do
a manual register and leave comments about what you think.
EOF
-sleep 15
+sleep 2
echo "sending ... "
wget -o /dev/null -O- "http://users.initng.org/count.php?uname=${UNAME}&distro=${DISTRO}&initng_version=${INITNG_VERSION}&md5mac=${MD5MAC}"
echo
More information about the Initng-svn
mailing list