diff --git a/openwrt-add-temper.sh b/openwrt-add-temper.sh index 585f772..3b66ac1 100755 --- a/openwrt-add-temper.sh +++ b/openwrt-add-temper.sh @@ -26,7 +26,7 @@ rmdir temper-py-0.0.1 chmod a+rx /usr/bin/temper.py if ! grep -q temper /etc/crontabs/root; then - echo "*/5 * * * * /usr/bin/temper.py awk '{ print $7 " " $8 }' > /www/temperature.txt" >> /etc/crontabs/root + echo "*/5 * * * * /usr/bin/temper.py | awk '{ print $7 " " $8 }' > /www/temperature.txt" >> /etc/crontabs/root fi EOF