Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison etc/periodic/daily/720.local-triggered-action @ 393:d83f877d7849
Variables that are set but empty need not to set again to a default empty value
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 23 Feb 2023 22:00:40 +0100 |
| parents | 8b1740deedbb |
| children | 7c597ee2c8d9 |
comparison
equal
deleted
inserted
replaced
| 392:68e3fce18202 | 393:d83f877d7849 |
|---|---|
| 14 . /etc/defaults/periodic.conf | 14 . /etc/defaults/periodic.conf |
| 15 source_periodic_confs | 15 source_periodic_confs |
| 16 fi | 16 fi |
| 17 | 17 |
| 18 : ${daily_local_triggered_action_enable:=NO} | 18 : ${daily_local_triggered_action_enable:=NO} |
| 19 : ${daily_local_triggered_action_files:=} | 19 : ${daily_local_triggered_action_files=} |
| 20 # e.g. "service nginx onestatus" | 20 # e.g. "service nginx onestatus" |
| 21 : ${daily_local_triggered_action_condition:=} | 21 : ${daily_local_triggered_action_condition=} |
| 22 # e.g. "service nginx reload" | 22 # e.g. "service nginx reload" |
| 23 : ${daily_local_triggered_action_action:=} | 23 : ${daily_local_triggered_action_action=} |
| 24 : ${daily_local_triggered_action_files_remove:=YES} | 24 : ${daily_local_triggered_action_files_remove:=YES} |
| 25 | 25 |
| 26 case "${daily_local_triggered_action_enable}" in | 26 case "${daily_local_triggered_action_enable}" in |
| 27 [Yy][Ee][Ss]) | 27 [Yy][Ee][Ss]) |
| 28 echo | 28 echo |
