From 4f8ee8b2598e2c639d81edba0c49510d150d4e94 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 9 Jan 2022 02:58:13 +0100 Subject: ... --- files/files/usr/local/sbin/dayled.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/files/usr/local/sbin/dayled.sh b/files/files/usr/local/sbin/dayled.sh index bc95390..f073008 100644 --- a/files/files/usr/local/sbin/dayled.sh +++ b/files/files/usr/local/sbin/dayled.sh @@ -5,7 +5,7 @@ local longitude="$(uci get dayled.@dayled[0].longitude)" local offset="$(uci get dayled.@dayled[0].offset)" local twilight="$(uci get dayled.@dayled[0].twilight)" -function act() { +act() { sunwait $1 $twilight $offset $latitude $longitude >/dev/null local state=$? if [ "$state" -eq 2 ]; then -- cgit v1.2.3