diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-11-16 06:54:39 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2005-11-16 06:54:39 +0000 |
commit | c032e97eab4042a1cf25599dfebad9ac55075308 (patch) | |
tree | b981c5fbe47e6cddfe6a3eae4bcf871d5b9ec04c /source | |
parent | df978c09a73706de73f2d9fdabbc7d92da1eef1a (diff) | |
download | samba-c032e97eab4042a1cf25599dfebad9ac55075308.tar.gz samba-c032e97eab4042a1cf25599dfebad9ac55075308.tar.xz samba-c032e97eab4042a1cf25599dfebad9ac55075308.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
Diffstat (limited to 'source')
-rw-r--r-- | source/param/loadparm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c index 5e49a562253..f45d8cf9527 100644 --- a/source/param/loadparm.c +++ b/source/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); |