Index: asterisk.c =================================================================== RCS file: /usr/cvsroot/asterisk/asterisk.c,v retrieving revision 1.48 diff -u -r1.48 asterisk.c --- asterisk.c 12 Jan 2004 05:05:35 -0000 1.48 +++ asterisk.c 14 Jan 2004 06:22:40 -0000 @@ -1251,6 +1251,11 @@ _argv[x] = argv[x]; _argv[x] = NULL; + /* if the progname is rasterisk consider it a remote console */ + if ( argv[0] && (strstr(argv[0], "rasterisk")) != NULL) { + option_remote++; + option_nofork++; + } if (gethostname(hostname, sizeof(hostname))) strncpy(hostname, "", sizeof(hostname)-1); mainpid = getpid();