* hook init function calls to the same define
authorWilfried Göesgens <willi@citadel.org>
Wed, 30 Jul 2008 22:22:58 +0000 (22:22 +0000)
committerWilfried Göesgens <willi@citadel.org>
Wed, 30 Jul 2008 22:22:58 +0000 (22:22 +0000)
webcit/mk_module_init.sh

index bf38637b306bfa4b3e51ebceeb1e10c7010ded9d..4f58db1e395a29983611314ef6df8d41520fd233 100755 (executable)
@@ -108,7 +108,9 @@ for HOOK in $INIT_FUNCS; do
 HOOKNAME=`echo $HOOK |sed "s;InitModule_;;"`
 # Add this entry point to the .c file
 cat <<EOF >> $C_FILE
+#ifdef DBG_PRINNT_HOOKS_AT_START
        lprintf (CTDL_INFO, "Initializing $HOOKNAME\n");
+#endif
        $HOOK();
 EOF
 # Add this entry point to the .h file