summaryrefslogtreecommitdiff
path: root/packages/nylon/nylon-statistics.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/nylon/nylon-statistics.bb')
-rw-r--r--packages/nylon/nylon-statistics.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/nylon/nylon-statistics.bb b/packages/nylon/nylon-statistics.bb
index 060e6182d0..b89c0b395c 100644
--- a/packages/nylon/nylon-statistics.bb
+++ b/packages/nylon/nylon-statistics.bb
@@ -24,7 +24,7 @@ else
if ! grep -q collect.sh /etc/cron/crontabs/root; then
echo "adding crontab"
test -d /etc/cron/crontabs || mkdir -p /etc/cron/crontabs
- echo "*/5 * * * * /usr/sbin/collect.sh" >> /etc/cron/crontabs/root
+ echo "*/5 * * * * ${sbindir}/collect.sh" >> /etc/cron/crontabs/root
fi
update-rc.d -s busybox-cron defaults
/etc/init.d/busybox-cron reload