projects
/
lede.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
procd: fix processing of datatype specification with spaces
[lede.git]
/
package
/
system
/
procd
/
files
/
reload_config
1
#!/bin/sh
2
MD5FILE=/var/run/config.md5
3
[ -f $MD5FILE ] && {
4
for c in `md5sum -c $MD5FILE 2>/dev/null| grep FAILED | cut -d: -f1`; do
5
ubus call service event "{ \"type\": \"config.change\", \"data\": { \"package\": \"$(basename $c)\" }}"
6
done
7
}
8
md5sum /etc/config/* > $MD5FILE