aboutsummaryrefslogtreecommitdiffstats
path: root/lcd4linux.c
diff options
context:
space:
mode:
authorreinelt <>2003-12-01 07:08:51 +0000
committerreinelt <>2003-12-01 07:08:51 +0000
commit42157e8617953e3c0863679f4cc4684842979204 (patch)
tree81f74288135143f6e755a556defbddfdbb6f7407 /lcd4linux.c
parent7aba35b24dae57592e1eaf4e6864e5ddce9a724e (diff)
downloadlcd4linux-42157e8617953e3c0863679f4cc4684842979204.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
Diffstat (limited to 'lcd4linux.c')
-rw-r--r--lcd4linux.c14
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);