projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modules/freifunk: implement map update for GlobalMap
[project/luci.git]
/
modules
/
freifunk
/
root
/
etc
/
init.d
/
freifunk
diff --git
a/modules/freifunk/root/etc/init.d/freifunk
b/modules/freifunk/root/etc/init.d/freifunk
index
d90e3ff
..
3a668b1
100755
(executable)
--- a/
modules/freifunk/root/etc/init.d/freifunk
+++ b/
modules/freifunk/root/etc/init.d/freifunk
@@
-23,6
+23,10
@@
boot() {
echo "0 */4 * * * /usr/sbin/ff_rdate" >> /etc/crontabs/root
}
echo "0 */4 * * * /usr/sbin/ff_rdate" >> /etc/crontabs/root
}
+ grep -q '/usr/sbin/ff_mapupdate' /etc/crontabs/root || {
+ echo "17 * * * * /usr/sbin/ff_mapupdate >> /etc/crontabs/root
+ }
+
[ -f /etc/rc.local ] && . /etc/rc.local
[ -d /etc/rc.local.d ] && {
for file in /etc/rc.local.d/*; do
[ -f /etc/rc.local ] && . /etc/rc.local
[ -d /etc/rc.local.d ] && {
for file in /etc/rc.local.d/*; do