Update swp-install

pull/140/head
Mason 1 year ago committed by GitHub
parent 3b4830eedd
commit 3579447f73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -285,7 +285,7 @@ setup_crontab() {
if [[ "$CREATE_SUPERMON_CRON" =~ ^[Yy]$ ]]; then
SUPERMON_CRON_FILE="/etc/cron.d/ASL3_Supermon_Workaround"
SUPERMON_CRONTAB_ENTRY="*/$CRONTAB_INTERVAL * * * * root /usr/local/bin/SkywarnPlus/ASL3_Supermon_Workaround.py"
SUPERMON_CRONTAB_ENTRY="* * * * * root /usr/local/bin/SkywarnPlus/ASL3_Supermon_Workaround.py"
if grep -Fxq "$SUPERMON_CRONTAB_ENTRY" "$SUPERMON_CRON_FILE" 2>/dev/null; then
echo "Supermon crontab entry already exists. Skipping."
@ -331,4 +331,4 @@ main() {
edit_config
}
main
main

Loading…
Cancel
Save

Powered by TurnKey Linux.