ln -s ${imagepath:-/tmp/rrdimg}/ /www/rrdimg
fi
- ### flush LuCI index cache
- test -f /var/luci-indexcache && rm /var/luci-indexcache
+ ### flush LuCI index cache
+ test -f /var/luci-indexcache && rm /var/luci-indexcache
+
+ ### workaround broken permissions on /tmp
+ chmod 1777 /tmp
}
restart() {
- ### regenerate config / prepare environment
- start
+ ### regenerate config / prepare environment
+ start
- ### restart collectd
- /etc/init.d/collectd restart
+ ### restart collectd
+ /etc/init.d/collectd restart
}