summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-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