So iiuc I should echo to "$${IPKG_INSTROOT}/etc/crontabs/root" ?
2008/7/20 Benoît Ganne <[EMAIL PROTECTED]>: > > (crontab -l 2>/dev/null | grep -v cron_prog; echo "* * * * * > > /bin/cron_prog") | crontab - 2>/dev/null > > That's why using the crontab command is a bit tricky, because you're > using your host machine command when you're building a new firmware > including your package (instead of installing the firmware in an > existing firmware). > In the example I gave (it was not specifically for /etc/crontab, but > it's more or less the same) you can prefix the files path you are > modifying with '$${IPKG_INSTROOT}' as in $${IPKG_INSTROOT}/etc/inetd.conf'. > So I would personnally stick with 'echo' instead of 'crontab'. > > Cheers, > ben. > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel >
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel