summaryrefslogtreecommitdiffstats
path: root/usr.sbin/i4b/isdnd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/i4b/isdnd/main.c')
-rw-r--r--usr.sbin/i4b/isdnd/main.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/usr.sbin/i4b/isdnd/main.c b/usr.sbin/i4b/isdnd/main.c
index 9d16717..eb6ae5c 100644
--- a/usr.sbin/i4b/isdnd/main.c
+++ b/usr.sbin/i4b/isdnd/main.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 1998 Hellmuth Michaelis. All rights reserved.
+ * Copyright (c) 1997, 1999 Hellmuth Michaelis. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -27,9 +27,9 @@
* i4b daemon - main program entry
* -------------------------------
*
- * $Id: main.c,v 1.29 1998/12/05 18:03:26 hm Exp $
+ * $Id: main.c,v 1.34 1999/02/23 16:25:49 hm Exp $
*
- * last edit-date: [Sat Dec 5 18:10:38 1998]
+ * last edit-date: [Tue Feb 23 16:47:33 1999]
*
*---------------------------------------------------------------------------*/
@@ -74,19 +74,18 @@ usage(void)
fprintf(stderr, "\n");
fprintf(stderr, "isdnd - i4b ISDN manager daemon, version %02d.%02d.%d, %s %s\n", VERSION, REL, STEP, __DATE__, __TIME__);
#ifdef DEBUG
- fprintf(stderr, " usage: isdnd [-b] [-c file] [-d level] [-F]\n");
+ fprintf(stderr, " usage: isdnd [-c file] [-d level] [-F] [-f [-r dev] [-t termtype]]\n");
#else
- fprintf(stderr, " usage: isdnd [-b] [-c file] [-F]\n");
+ fprintf(stderr, " usage: isdnd [-c file] [-F] [-f [-r dev] [-t termtype]]\n");
#endif
- fprintf(stderr, " [-f [-r dev] [-t termtype]] [-u time]\n");
- fprintf(stderr, " [-l] [-L file] [-s facility] [-m]\n");
- fprintf(stderr, " -b audible bell in fullscreen mode at connect/disconnect\n");
+ fprintf(stderr, " [-l] [-L file] [-m] [-s facility] [-u time]\n");
fprintf(stderr, " -c <filename> configuration file name (def: %s)\n", CONFIG_FILE_DEF);
#ifdef DEBUG
fprintf(stderr, " -d <level> set debug flag bits:\n");
fprintf(stderr, " general = 0x%04x, rates = 0x%04x, timing = 0x%04x\n", DL_MSG, DL_RATES, DL_TIME);
fprintf(stderr, " state = 0x%04x, retry = 0x%04x, dial = 0x%04x\n", DL_STATE, DL_RCVRY, DL_DIAL);
- fprintf(stderr, " process = 0x%04x, kernio = 0x%04x ctrlstat = 0x%04x\n", DL_PROC, DL_DRVR, DL_CNST);
+ fprintf(stderr, " process = 0x%04x, kernio = 0x%04x ctrlstat = 0x%04x\n", DL_PROC, DL_DRVR, DL_CNST);
+ fprintf(stderr, " rc-file = 0x%04x\n", DL_RCCF);
fprintf(stderr, " -dn no debug output on fullscreen display\n");
#endif
fprintf(stderr, " -f fullscreen status display\n");
@@ -319,7 +318,7 @@ main(int argc, char **argv)
if(i == GOOD)
{
got_rate = 1; /* flag, ratesfile read and ok */
- DBGL(DL_MSG, (log(LL_DBG, "ratesfile %s read successfully", ratesfile)));
+ DBGL(DL_RCCF, (log(LL_DBG, "ratesfile %s read successfully", ratesfile)));
}
else
{
@@ -442,7 +441,7 @@ mloop(
/* go into loop */
- log(LL_DMN, "daemon started (pid = %d)", getpid());
+ log(LL_DMN, "i4b isdn daemon started (pid = %d)", getpid());
for(;;)
{
OpenPOWER on IntegriCloud