diff options
Diffstat (limited to 'files')
-rw-r--r-- | files/files/usr/local/sbin/dayled.sh | 2 |
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)" | |||
5 | local offset="$(uci get dayled.@dayled[0].offset)" | 5 | local offset="$(uci get dayled.@dayled[0].offset)" |
6 | local twilight="$(uci get dayled.@dayled[0].twilight)" | 6 | local twilight="$(uci get dayled.@dayled[0].twilight)" |
7 | 7 | ||
8 | function act() { | 8 | act() { |
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 |