1 DESCRIPTION = "statistics & graphing for nylon"
5 MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
8 SRC_URI = "svn://meshcube.org/svn/application;module=${PN}"
12 install -d ${D}/srv/www/cgi-bin
13 install -d ${D}/${sbindir}
14 ln -s /var/tmp ${D}/srv/www/rrd-img
15 install -m 755 ${S}/*.html ${D}/srv/www/cgi-bin
16 install -m 755 ${S}/collect.sh ${D}/${sbindir}
20 if test "x$D" == "x"; then
21 mkdir -p /etc/cron/crontabs
22 if ! grep -q collect.sh /etc/cron/crontabs/root; then
24 echo "*/5 * * * * /usr/sbin/collect.sh" >> /etc/cron/crontabs/root
26 update-rc.d -s busybox-cron defaults
27 if [ ! -e /etc/httpd.conf ]; then
28 echo "A:*" > /etc/httpd.conf
30 update-rc.d -s busybox-httpd defaults