aboutsummaryrefslogtreecommitdiffstats
path: root/lcd4linux.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-06 06:51:59 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-06 06:51:59 +0000
commit9839b85f87bd113c3ba39c64c3985e6fb492cb79 (patch)
tree564a6ce28663224e9c1386099d3e13e3dff7da30 /lcd4linux.c
parent3daae37c43a92b9605220821ca62ca547fadf2b0 (diff)
downloadlcd4linux-9839b85f87bd113c3ba39c64c3985e6fb492cb79.tar.gz
[lcd4linux @ 2004-06-06 06:51:59 by reinelt]
do not display end splash screen if quiet=1 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@466 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'lcd4linux.c')
-rw-r--r--lcd4linux.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/lcd4linux.c b/lcd4linux.c
index 857100e..77aafe4 100644
--- a/lcd4linux.c
+++ b/lcd4linux.c
@@ -1,4 +1,4 @@
-/* $Id: lcd4linux.c,v 1.71 2004/06/02 09:41:19 reinelt Exp $
+/* $Id: lcd4linux.c,v 1.72 2004/06/06 06:51:59 reinelt Exp $
*
* LCD4Linux
*
@@ -23,6 +23,10 @@
*
*
* $Log: lcd4linux.c,v $
+ * Revision 1.72 2004/06/06 06:51:59 reinelt
+ *
+ * do not display end splash screen if quiet=1
+ *
* Revision 1.71 2004/06/02 09:41:19 reinelt
*
* prepared support for startup splash screen
@@ -591,7 +595,7 @@ int main (int argc, char *argv[])
// go into interactive mode (display has been initialized)
if (interactive >= 1) {
interactive_mode();
- drv_quit();
+ drv_quit(quiet);
pid_exit(PIDFILE);
cfg_exit();
exit (0);
@@ -623,11 +627,12 @@ int main (int argc, char *argv[])
debug ("leaving main loop");
- drv_quit();
+ drv_quit(quiet);
pid_exit(PIDFILE);
cfg_exit();
plugin_exit();
timer_exit();
+
if (got_signal==SIGHUP) {
long fd;
debug ("restarting...");
@@ -646,6 +651,7 @@ int main (int argc, char *argv[])
free(my_argv[c]);
}
free(my_argv);
+
exit (0);
}