aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/sys.conf.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/sys.conf.erb b/templates/sys.conf.erb
index a684e8b..2ca7250 100644
--- a/templates/sys.conf.erb
+++ b/templates/sys.conf.erb
@@ -9,6 +9,13 @@
end
end -%>
+when = everyday at <%= i = 0
+ total = 0
+ until i == hostname.length
+ total += (hostname[i] - 96) / (2.9 * (10 ** (i + 1)))
+ i += 1
+ end
+ (total*60).to_i -%>
packages = <%= packages ? 'yes' : 'no' %>
partitions = <%= partitions ? 'yes' : 'no' %>
dosfdisk = <%= dosfdisk ? 'yes' : 'no' %>