diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-09 02:58:13 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-09 02:58:13 +0100 |
commit | 4f8ee8b2598e2c639d81edba0c49510d150d4e94 (patch) | |
tree | 4c90244aad882ecfa34ded8600fd1d206769c107 /files | |
parent | e842ecc536ce641384ea9ab4f442527153d02e91 (diff) | |
download | ap01-4f8ee8b2598e2c639d81edba0c49510d150d4e94.tar ap01-4f8ee8b2598e2c639d81edba0c49510d150d4e94.tar.gz ap01-4f8ee8b2598e2c639d81edba0c49510d150d4e94.tar.bz2 ap01-4f8ee8b2598e2c639d81edba0c49510d150d4e94.tar.xz ap01-4f8ee8b2598e2c639d81edba0c49510d150d4e94.zip |
...
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 |