From 91ef53962dfc61a78b58a5fcd7ca2e3941a1be1b Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Wed, 2 Jun 2004 05:14:16 +0000 Subject: [lcd4linux @ 2004-06-02 05:14:16 by reinelt] fixed models listing for Beckmann+Egle driver some cosmetic changes --- lcd4linux.c | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) (limited to 'lcd4linux.c') diff --git a/lcd4linux.c b/lcd4linux.c index 7e44a69..20c6ed7 100644 --- a/lcd4linux.c +++ b/lcd4linux.c @@ -1,8 +1,9 @@ -/* $Id: lcd4linux.c,v 1.69 2004/03/14 07:11:42 reinelt Exp $ +/* $Id: lcd4linux.c,v 1.70 2004/06/02 05:14:16 reinelt Exp $ * * LCD4Linux * - * Copyright 1999-2003 Michael Reinelt + * Copyright 1999-2004 Michael Reinelt + * Copyright 2004 The LCD4Linux Team * * This file is part of LCD4Linux. * @@ -22,6 +23,11 @@ * * * $Log: lcd4linux.c,v $ + * Revision 1.70 2004/06/02 05:14:16 reinelt + * + * fixed models listing for Beckmann+Egle driver + * some cosmetic changes + * * Revision 1.69 2004/03/14 07:11:42 reinelt * parameter count fixed for plugin_dvb() * plugin_APM (battery status) ported @@ -358,7 +364,8 @@ #define PIDFILE "/var/run/lcd4linux.pid" -static char *release="LCD4Linux " VERSION " (c) 2003 Michael Reinelt "; +static char *release = "LCD4Linux " VERSION; +static char *copyright = "Copyright 1999-2004 The LCD4Linux Team "; static char **my_argv; static int got_signal=0; @@ -369,6 +376,7 @@ extern char* output; static void usage(void) { printf ("%s\n", release); + printf ("%s\n", copyright); printf ("usage: lcd4linux [-h]\n"); printf (" lcd4linux [-l]\n"); printf (" lcd4linux [-c key=value] [-i] [-f config-file] [-v]\n"); @@ -451,23 +459,23 @@ void handler (int signal) int main (int argc, char *argv[]) { - char *cfg="/etc/lcd4linux.conf"; + char *cfg = "/etc/lcd4linux.conf"; char *display, *driver, *layout; char section[32]; int c; - int quiet=0; - int interactive=0; - + int quiet = 0; + int interactive = 0; + int pid; // save arguments for restart - my_argv=malloc(sizeof(char*)*(argc+1)); - for (c=0; c