* luci/statistics: implement reload action in init script
This commit is contained in:
parent
de2e0ce10c
commit
cb3ed9f226
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue