diff --git a/xlx-cron.sh b/xlx-cron.sh index d08b51e..d1f5108 100644 --- a/xlx-cron.sh +++ b/xlx-cron.sh @@ -4,7 +4,7 @@ mount -o remount,rw / XLXFOLDER=/xlx -if [ -f /usr/local/sbin/pistar-daily.cron ];then +if [ -f /usr/local/sbin/pistar-daily.cron ]; then sed -i "s/^\/usr\/local\/sbin\/HostFilesUpdate.sh.*/\/usr\/local\/sbin\/HostFilesUpdate.sh;xlx-gethost;xlx-rw;xlx-getdmrid-force;/" /usr/local/sbin/pistar-daily.cron fi @@ -20,4 +20,4 @@ systemctl daemon-reload systemctl enable xlx.timer &>/dev/null systemctl start xlx.timer -exit 0 \ No newline at end of file +exit 0