* Made Makefiles attribute aware
[project/luci.git] / applications / luci-statistics / root / etc / init.d / luci_statistics
old mode 100644 (file)
new mode 100755 (executable)
index 68a5cf9..54faa41
@@ -18,3 +18,11 @@ start() {
                ln -s ${imagepath:-/tmp/rrdimg}/ /www/rrdimg
        fi
 }
+
+restart() {
+        ### regenerate config / prepare environment
+        start()
+
+        ### restart collectd
+        /etc/init.d/collectd restart
+}