aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-02-15 07:23:04 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-02-15 07:23:04 +0000
commit512838d1786580e053432073638dfb695c78df79 (patch)
tree123e1acb5f0a5c1a039d6d9b2f27e890cac1a852
parent4b5daaaefb564087f9b19d1dc81b035b8ea8ee06 (diff)
downloadlcd4linux-512838d1786580e053432073638dfb695c78df79.tar.gz
[lcd4linux @ 2004-02-15 07:23:04 by reinelt]
bug in netdev parsing fixed git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@365 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r--lcd4linux.conf.sample9
-rw-r--r--plugin_netdev.c7
2 files changed, 14 insertions, 2 deletions
diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample
index 246e327..ffd01db 100644
--- a/lcd4linux.conf.sample
+++ b/lcd4linux.conf.sample
@@ -252,6 +252,15 @@ Layout Default {
}
}
+Layout L24x8 {
+ Row1 {
+ Col1 'Load'
+ Col11 'BusyBar'
+ }
+ Row2 {
+ }
+}
+
Layout L16x2 {
Row1 {
Col1 'Busy'
diff --git a/plugin_netdev.c b/plugin_netdev.c
index 2d49e3f..91b2edb 100644
--- a/plugin_netdev.c
+++ b/plugin_netdev.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_netdev.c,v 1.3 2004/02/01 19:37:40 reinelt Exp $
+/* $Id: plugin_netdev.c,v 1.4 2004/02/15 07:23:04 reinelt Exp $
*
* plugin for /proc/net/dev parsing
*
@@ -23,6 +23,9 @@
*
*
* $Log: plugin_netdev.c,v $
+ * Revision 1.4 2004/02/15 07:23:04 reinelt
+ * bug in netdev parsing fixed
+ *
* Revision 1.3 2004/02/01 19:37:40 reinelt
* got rid of every strtok() incarnation.
*
@@ -90,7 +93,7 @@ static int parse_netdev (void)
while (!feof(stream)) {
char buffer[256];
char header[256], *h, *t;
- char *head[32];
+ char *head[64];
char delim[]=" :|\t\n";
int col;
: Simon Liddicott <simon@liddicott.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 2021-04-30update Brazilian scan filesMauro Carvalho Chehab2476-12805/+69312 Data updated according with https://portalbsd.com.br/. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 2021-04-30Remove legacy entriesMauro Carvalho Chehab129-24898/+0 There are several entries that used to be at Lyngsat. Several of them were merged with other entries. On others, there's no TV signal anymore. So, drop them. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 2021-04-30Add new satellites from LyngsatMauro Carvalho Chehab75-21/+29721 Those are are new satellite descriptions that didn't use to exist on Lyngsat. Add them. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 2021-04-30Rename a few satellites with two names and update frequenciesMauro Carvalho Chehab2-283/+182 Those two satellites have two names. Use Just one of them. While here, update their frequencies from Lyngsat. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 2021-04-30Update frequencies from LyngsatMauro Carvalho Chehab188-12304/+12666 Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>