From 280bea40df748434c553973a4a06d93140bedc3b Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 4 Oct 2023 11:44:02 +0200 Subject: [PATCH] nd/conf: link to sysupdates repo in doc comments it is important the constants in Config.zig match those in sysupdates. somehow should've made it into 664c75a9 but never did. --- src/nd/Config.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nd/Config.zig b/src/nd/Config.zig index 7a68052..f25f419 100644 --- a/src/nd/Config.zig +++ b/src/nd/Config.zig @@ -5,8 +5,9 @@ const std = @import("std"); const logger = std.log.scoped(.config); -// default values +// default values. these should match what's in the sysupdates repo. const SYSUPDATES_CRON_SCRIPT_PATH = "/etc/cron.hourly/sysupdate"; +/// must be the same as https://git.qcode.ch/nakamochi/sysupdates/src/branch/master/update.sh const SYSUPDATES_RUN_SCRIPT_NAME = "update.sh"; const SYSUPDATES_RUN_SCRIPT_PATH = "/ssd/sysupdates/" ++ SYSUPDATES_RUN_SCRIPT_NAME;