3.0.0
This commit is contained in:
commit
645c461d2a
12 files changed
+886
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$ACTION" in
|
||||
step|stratum)
|
||||
[ -x /usr/bin/led-control ] || exit 0
|
||||
|
||||
year="$(date +%Y 2>/dev/null)"
|
||||
[ -n "$year" ] || exit 0
|
||||
[ "$year" -ge 2024 ] 2>/dev/null || exit 0
|
||||
|
||||
/usr/bin/led-control apply >/dev/null 2>&1
|
||||
logger -t led-scheduler "schedule reapplied after NTP event: $ACTION"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user