diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-01-12 21:49:51 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-01-12 21:49:51 +0100 |
commit | 1acf003c18fd200723d56b06b8cf06c47ac7c09c (patch) | |
tree | 23d4367a37baddf5c206375d0bed630ff9b900aa | |
parent | 40f8526a8d9264ccc297c6df5f48f900fc681e9c (diff) | |
download | meta-openembedded-1acf003c18fd200723d56b06b8cf06c47ac7c09c.tar.gz |
ntp: adjust crontab location for cronie
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r-- | recipes-support/ntp/ntp_4.2.6p3.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-support/ntp/ntp_4.2.6p3.bb b/recipes-support/ntp/ntp_4.2.6p3.bb index 1476c6fbb..f64f6f6d9 100644 --- a/recipes-support/ntp/ntp_4.2.6p3.bb +++ b/recipes-support/ntp/ntp_4.2.6p3.bb | |||
@@ -36,10 +36,10 @@ pkg_postinst_ntpdate() { | |||
36 | if test "x$D" != "x"; then | 36 | if test "x$D" != "x"; then |
37 | exit 1 | 37 | exit 1 |
38 | else | 38 | else |
39 | if ! grep -q -s ntpdate /var/cron/tabs/root; then | 39 | if ! grep -q -s ntpdate /var/spool/cron/root; then |
40 | echo "adding crontab" | 40 | echo "adding crontab" |
41 | test -d /var/cron/tabs || mkdir -p /var/cron/tabs | 41 | test -d /var/spool/cron || mkdir -p /var/spool/cron |
42 | echo "30 * * * * /usr/bin/ntpdate -b -s -u pool.ntp.org" >> /var/cron/tabs/root | 42 | echo "30 * * * * /usr/bin/ntpdate -b -s -u pool.ntp.org" >> /var/spool/cron/root |
43 | fi | 43 | fi |
44 | fi | 44 | fi |
45 | } | 45 | } |