From 6ace72e8fcfdca9f7d92816da58b204b6d2c7893 Mon Sep 17 00:00:00 2001 From: reinelt Date: Mon, 1 Dec 2003 07:08:51 +0000 Subject: [lcd4linux @ 2003-12-01 07:08:50 by reinelt] Patches from Xavier: - WiFi: make interface configurable - "quiet" as an option from the config file - ignore missing "MemShared" on Linux 2.6 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@278 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- lcd4linux.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'lcd4linux.c') diff --git a/lcd4linux.c b/lcd4linux.c index 3332ba4..a0dde0c 100644 --- a/lcd4linux.c +++ b/lcd4linux.c @@ -1,4 +1,4 @@ -/* $Id: lcd4linux.c,v 1.51 2003/11/16 09:45:49 reinelt Exp $ +/* $Id: lcd4linux.c,v 1.52 2003/12/01 07:08:50 reinelt Exp $ * * LCD4Linux * @@ -22,6 +22,13 @@ * * * $Log: lcd4linux.c,v $ + * Revision 1.52 2003/12/01 07:08:50 reinelt + * + * Patches from Xavier: + * - WiFi: make interface configurable + * - "quiet" as an option from the config file + * - ignore missing "MemShared" on Linux 2.6 + * * Revision 1.51 2003/11/16 09:45:49 reinelt * Crystalfontz changes, small glitch in getopt() fixed * @@ -525,6 +532,11 @@ int main (int argc, char *argv[]) pid_exit(PIDFILE); exit (0); } + + // check the conf to see if quiet startup is wanted + if (!quiet) { + quiet = atoi(cfg_get("Quiet", "0")); + } if (!quiet && hello()) { sleep (3); -- cgit v1.2.3