summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-09 02:58:13 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-09 02:58:13 +0100
commit4f8ee8b2598e2c639d81edba0c49510d150d4e94 (patch)
tree4c90244aad882ecfa34ded8600fd1d206769c107
parente842ecc536ce641384ea9ab4f442527153d02e91 (diff)
downloadap01-4f8ee8b2598e2c639d81edba0c49510d150d4e94.tar
ap01-4f8ee8b2598e2c639d81edba0c49510d150d4e94.tar.gz
ap01-4f8ee8b2598e2c639d81edba0c49510d150d4e94.tar.bz2
ap01-4f8ee8b2598e2c639d81edba0c49510d150d4e94.tar.xz
ap01-4f8ee8b2598e2c639d81edba0c49510d150d4e94.zip
...
-rw-r--r--files/files/usr/local/sbin/dayled.sh2
1 files changed, 1 insertions, 1 deletions
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)"
5local offset="$(uci get dayled.@dayled[0].offset)" 5local offset="$(uci get dayled.@dayled[0].offset)"
6local twilight="$(uci get dayled.@dayled[0].twilight)" 6local twilight="$(uci get dayled.@dayled[0].twilight)"
7 7
8function act() { 8act() {
9 sunwait $1 $twilight $offset $latitude $longitude >/dev/null 9 sunwait $1 $twilight $offset $latitude $longitude >/dev/null
10 local state=$? 10 local state=$?
11 if [ "$state" -eq 2 ]; then 11 if [ "$state" -eq 2 ]; then