From fe64012cc828400272349273149a29768ebd54d9 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 19 Dec 2020 22:01:18 +0100 Subject: [PATCH] - camd_datefix: remove obsolete comment --- skel-root/general/scripts/camd_datefix.init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/skel-root/general/scripts/camd_datefix.init b/skel-root/general/scripts/camd_datefix.init index 3bf8a23f..40f8838a 100644 --- a/skel-root/general/scripts/camd_datefix.init +++ b/skel-root/general/scripts/camd_datefix.init @@ -14,9 +14,10 @@ case "$1" in SHOWINFO "can't work. /etc/date-dummy is missing" exit 1 fi + DATE_DUMMY=$(cat /etc/date-dummy) DATE_TODAY=$(date +%Y%m%d%H%M) - # keep line below in sync with dummy time in rcS + if [ "${DATE_TODAY:0:8}" = "${DATE_DUMMY:0:8}" ]; then # try to read date from flagfile test -e $FLAGFILE && \