diff options
Diffstat (limited to 'contrib/package/freifunk-mapupdate/root/etc/uci-defaults/50_freifunk-mapupdate')
-rw-r--r-- | contrib/package/freifunk-mapupdate/root/etc/uci-defaults/50_freifunk-mapupdate | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/contrib/package/freifunk-mapupdate/root/etc/uci-defaults/50_freifunk-mapupdate b/contrib/package/freifunk-mapupdate/root/etc/uci-defaults/50_freifunk-mapupdate deleted file mode 100644 index dee7f1bb5..000000000 --- a/contrib/package/freifunk-mapupdate/root/etc/uci-defaults/50_freifunk-mapupdate +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -test -f /etc/crontabs/root || touch /etc/crontabs/root -SEED="$( dd if=/dev/urandom bs=2 count=1 2>&- | hexdump | if read line; then echo 0x${line#* }; fi )" -MIN="$(( $SEED % 59 ))" -grep -q "ff_mapupdate.sh" /etc/crontabs/root || echo "$MIN * * * * /usr/sbin/ff_mapupdate.sh" >> /etc/crontabs/root -/etc/init.d/cron restart |