From ddee618b2c5e54b7cdea53d86a71846f42b6fa3d Mon Sep 17 00:00:00 2001 From: Matt Taggart Date: Tue, 17 Apr 2012 19:06:34 -0700 Subject: add hour and newline --- templates/sys.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/sys.conf.erb b/templates/sys.conf.erb index 2ca7250..13e6106 100644 --- a/templates/sys.conf.erb +++ b/templates/sys.conf.erb @@ -9,13 +9,13 @@ end end -%> -when = everyday at <%= i = 0 +when = everyday at 1:<%= i = 0 total = 0 until i == hostname.length total += (hostname[i] - 96) / (2.9 * (10 ** (i + 1))) i += 1 end - (total*60).to_i -%> + (total*60).to_i %> packages = <%= packages ? 'yes' : 'no' %> partitions = <%= partitions ? 'yes' : 'no' %> dosfdisk = <%= dosfdisk ? 'yes' : 'no' %> -- cgit v1.2.3