packages: chrony/chronyd.init - pldize

glen glen at pld-linux.org
Sun Feb 7 19:45:52 CET 2010


Author: glen                         Date: Sun Feb  7 18:45:52 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pldize

---- Files affected:
packages/chrony:
   chronyd.init (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/chrony/chronyd.init
diff -u packages/chrony/chronyd.init:1.3 packages/chrony/chronyd.init:1.4
--- packages/chrony/chronyd.init:1.3	Sun Feb  7 19:42:51 2010
+++ packages/chrony/chronyd.init	Sun Feb  7 19:45:46 2010
@@ -67,11 +67,9 @@
     commandkey=$(get_key $commandkeyid)
     [ -z "$commandkey" ] || return 0
 
-    echo -n $"Generating chrony command key: "
+	show "Generating Chrony command key"; busy
     commandkey=$(tr -c -d '[\041-\176]' < /dev/urandom | head -c 8)
-    [ -n "$commandkey" ] && echo "$commandkeyid $commandkey" >> $keyfile &&
-        success || failure
-    echo
+    [ -n "$commandkey" ] && echo "$commandkeyid $commandkey" >> $keyfile && ok || fail
 }
 
 start() {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/chrony/chronyd.init?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list