From 2183f5ccf93dae070e01bf68481665b4af82090e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 26 Aug 2011 10:29:19 +0200 Subject: cleanup: update lcd4linux file --- oncology/Makefile | 1 + oncology/lcd4linux.conf | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'oncology') diff --git a/oncology/Makefile b/oncology/Makefile index 258ee130..05d5c422 100644 --- a/oncology/Makefile +++ b/oncology/Makefile @@ -15,6 +15,7 @@ install: /usr/bin/lcd4linux /etc/lcd4linux.conf lcd4linux_autostart # TODO this is debian only update: /etc/lcd4linux.conf + service lcd4linux force-reload /etc/lcd4linux.conf: lcd4linux.conf chown krebs:krebs lcd4linux.conf diff --git a/oncology/lcd4linux.conf b/oncology/lcd4linux.conf index 34df9f65..be16629d 100644 --- a/oncology/lcd4linux.conf +++ b/oncology/lcd4linux.conf @@ -235,7 +235,7 @@ Widget MemorySwappedUsed { Widget LoggedInTitle { class 'Text' - expression 'Logged in users' + expression 'Hosts in Krebs Darknet' width width050 align 'L' update 0 @@ -243,10 +243,10 @@ Widget LoggedInTitle { Widget LoggedIn { class 'Text' - expression exec('who | awk \' { print $1 }\' | sort -ud | tr "\n" " "') + expression exec('/krebs/oncology/bin/krebshostup') width width050 align 'L' - update 2 * second + update 300 * second } Widget FSSpaceTitle { @@ -426,7 +426,7 @@ Widget TwonkyStatus { Widget FileTitle { class 'Text' - expression 'NumPad Logging' + expression 'Syslog' width width100 align 'C' Background lightgray @@ -539,22 +539,22 @@ Layout Krebs { Row07.Col29 'MemorySwappedTotal' Row08.Col29 'MemorySwappedUsed' Row10.Col28 'LoggedInTitle' - #Row11.Col29 'LoggedIn' + Row11.Col29 'LoggedIn' Row13.Col28 'FSSpaceTitle' Row14.Col29 'FSSpace1' Row17.Col02 'ServicesTitle' #Row18.Col02 'BindDNSStatus' #Row19.Col02 'MuninStatus' - Row20.Col02 'ApacheStatus' + Row18.Col02 'ApacheStatus' #Row21.Col02 'MiniDLNAStatus' #Row18.Col29 'PostfixStatus' #Row19.Col29 'ProFTPStatus' #Row20.Col29 'SambaStatusDS' - Row20.Col29 'SSHStatusDS' + Row18.Col29 'SSHStatusDS' - Row21.Col02 'Weather1' - Row22.Col02 'Bitcoin' + Row19.Col02 'Weather1' + Row21.Col02 'Bitcoin' Row23.Col02 'Stream' Row25.Col02 'FileTitle' -- cgit v1.2.3