diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-11-16 06:54:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:26 -0500 |
commit | 05f7bec525484b7a13ba0f80fd684cd1f9b1d66b (patch) | |
tree | 59893222652f44556cfc16977c0bc256dd1431f9 | |
parent | 88eb98275e8ecf33f9751aeb8a4d66ae205d7044 (diff) | |
download | samba-05f7bec525484b7a13ba0f80fd684cd1f9b1d66b.tar.gz samba-05f7bec525484b7a13ba0f80fd684cd1f9b1d66b.tar.bz2 samba-05f7bec525484b7a13ba0f80fd684cd1f9b1d66b.zip |
r11739: As per Jeremy's request, add a panic action for developers. Now configure.in
needs something along the lines of
if [ $LOGNAME == "jht" ]
then
CFLAGS="$CFLAGS -DDEVELOPER"
fi
But that goes a bit far I think.... :-)))
Volker
(This used to be commit 99d76042e962405fcaeb974a55db563207e0f92a)
-rw-r--r-- | source3/param/loadparm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 5e49a56225..f45d8cf952 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1424,6 +1424,9 @@ static void init_globals(void) slprintf(s, sizeof(s) - 1, "%d.%d", DEFAULT_MAJOR_VERSION, DEFAULT_MINOR_VERSION); string_set(&Globals.szAnnounceVersion, s); +#ifdef DEVELOPER + string_set(&Globals.szPanicAction, "/bin/sleep 999999999"); +#endif pstrcpy(user_socket_options, DEFAULT_SOCKET_OPTIONS); |