This commit is contained in:
fred 2023-04-12 18:47:21 +02:00
parent 94cba1e6ed
commit 6ddd839231
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ cat ~/.zen/GPS 2>/dev/null && echo " TODO calibrate 20H12 with GPS"
if [[ ! $crontest ]]; then
## HEADER
[[ $1 == "OFF" || ]] && exit 0
[[ $1 == "OFF" ]] && exit 0
[[ ! $(cat /tmp/mycron | grep -F 'SHELL') ]] && echo "SHELL=/bin/bash" > /tmp/newcron
[[ ! $(cat /tmp/mycron | grep -F 'PATH') ]] && echo "PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" >> /tmp/newcron
cat /tmp/mycron >> /tmp/newcron