From ed3b91c020b9c4ced0feaffd58ab088a981cc125 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 8 Apr 2009 10:22:06 -0700 Subject: [PATCH] show all status options available in the status config file --- screen-profiles-export | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/screen-profiles-export b/screen-profiles-export index 3d8d31a4..1d2aae0d 100755 --- a/screen-profiles-export +++ b/screen-profiles-export @@ -86,10 +86,16 @@ status_config() { # Generate the status configuration # Disable the menu, since screen-profiles configurator is not available # Enable user@host in its place - echo " -menu=0 -hostname=1 -whoami=1" + for i in $(ls /var/lib/screen-profiles/); do + case "$i" in + cpu-count|cpu-freq|hostname|load-average|logo|mem-available|mem-used|reboot-required|release|updates-available|whoami) + echo "$i=1" + ;; + *) + echo "$i=0" + ;; + esac + done } hr() {