1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-17 12:44:00 +02:00
gluon-packages/gluon
Jan-Philipp Litza 5cad7dba41 gluon-autoupdater: get random number from urandom
The approach with awk's rand() wasn't really random between across
devices: When srand() was called without arguments, time() was used as
seed, which of course is the same on all devices when the script is
called via cron at HH:00:00.

This patch instead uses /dev/urandom as source of random (we don't need
cryptographically strong random numbers, so urandom is just fine) but
still uses awk for the comparison as busybox's ash cannot deal with
floats in $(())
2014-01-19 22:36:49 +01:00
..
gluon-alfred gluon-alfred: run every minute 2014-01-18 21:56:05 +01:00
gluon-autoupdater gluon-autoupdater: get random number from urandom 2014-01-19 22:36:49 +01:00
gluon-config-mode gluon-config-mode: use different document root 2014-01-13 20:17:29 +01:00
gluon-core gluon-core: add function to add users 2014-01-14 18:19:51 +01:00
gluon-cron Remove initscript enable/disable hacks 2014-01-13 18:29:00 +01:00
gluon-ebtables Remove initscript enable/disable hacks 2014-01-13 18:29:00 +01:00
gluon-ebtables-filter-multicast gluon-ebtables-filter-multicast: correct interface name 2014-01-11 19:27:06 +01:00
gluon-ebtables-filter-ra-dhcp Add ebtables filters from the legacy firmware 2014-01-10 21:49:18 +01:00
gluon-location Make package version depend on the site config version where necessary 2014-01-04 09:19:13 +01:00
gluon-lock-password Add gluon-lock-password package and make config mode depend on it 2014-01-09 09:58:59 +01:00
gluon-luci-admin configmode -> gluon-config-mode 2013-11-28 20:00:37 +01:00
gluon-luci-autoupdater gluon-luci-autoupdater: simple luci module for autoupdater 2013-11-28 21:49:34 +01:00
gluon-mesh-batman-adv gluon-mesh-batman-adv: set gateway mode to client 2014-01-18 19:44:02 +01:00
gluon-mesh-vpn-fastd gluon-mesh-vpn-fastd: enable secure handshakes 2014-01-14 19:37:15 +01:00
gluon-next-node Add firewall rules 2014-01-14 01:50:59 +01:00
gluon-radvd gluon-radvd: don't run as root 2014-01-14 19:34:07 +01:00
gluon-release Make package version depend on the site config version where necessary 2014-01-04 09:19:13 +01:00
gluon-simple-tc Make package version depend on the site config version where necessary 2014-01-04 09:19:13 +01:00