diff options
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-statistics/root/etc/init.d/luci_statistics | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/applications/luci-statistics/root/etc/init.d/luci_statistics b/applications/luci-statistics/root/etc/init.d/luci_statistics index 68a5cf97a5..54faa411db 100644 --- a/applications/luci-statistics/root/etc/init.d/luci_statistics +++ b/applications/luci-statistics/root/etc/init.d/luci_statistics @@ -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 +} |