Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Mar 16, 2024
1 parent 8de0425 commit ec8dba7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cron/rootfs/etc/s6-overlay/s6-rc.d/init-config/run
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ crontab -r
CRON_COMMAND="bash -c \"\$(curl -k https://ddsrem.com/xiaoya/xiaoya_notify.sh)\" -s ${parameters}"

echo -e "${CRON} ${CRON_COMMAND} >> /config/cron.log 2>&1" > /app/cronjob.list
echo -e "${CRON_COMMAND}" > /app/command.sh
echo -e "bash -c \"\$(curl -k https://ddsrem.com/xiaoya/xiaoya_notify.sh | head -n -2 && echo detection_config_update)\" -s ${parameters}" | \
sed 's/--auto_update_all_pikpak=yes/--auto_update_all_pikpak=no/g' | \
sed 's/--force_update_config=no/--force_update_config=yes/g' > /app/command.sh

INFO "$(cat /app/cronjob.list)"

Expand Down

0 comments on commit ec8dba7

Please sign in to comment.