diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2003-12-01 07:08:51 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2003-12-01 07:08:51 +0000 |
commit | 6ace72e8fcfdca9f7d92816da58b204b6d2c7893 (patch) | |
tree | 81f74288135143f6e755a556defbddfdbb6f7407 /lcd4linux.c | |
parent | 7e0ca2796bf0e4dbec689211ba00ce86a393b83c (diff) | |
download | lcd4linux-6ace72e8fcfdca9f7d92816da58b204b6d2c7893.tar.gz |
[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
Diffstat (limited to 'lcd4linux.c')
-rw-r--r-- | lcd4linux.c | 14 |
1 files changed, 13 insertions, 1 deletions
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); |