0001-haveged-start-directly-after-initial-setup-and-don-t-run-tests.patch 836 B

123456789101112131415161718192021222324252627
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Sat, 26 Jul 2014 18:06:07 +0200
  3. Subject: haveged: start directly after initial setup and don't run tests
  4. diff --git a/utils/haveged/files/haveged.init b/utils/haveged/files/haveged.init
  5. index ce28e61..aa8d3c7 100644
  6. --- a/utils/haveged/files/haveged.init
  7. +++ b/utils/haveged/files/haveged.init
  8. @@ -1,14 +1,16 @@
  9. #!/bin/sh /etc/rc.common
  10. # Copyright (C) 2012 OpenWrt.org
  11. -START=98
  12. +START=13
  13. HAVEGED_THRESHOLD=1024
  14. HAVEGED_DCACHE=32
  15. HAVEGED_ICACHE=32
  16. +HAVEGED_TESTS_TOT=
  17. +HAVEGED_TESTS_CONT=
  18. start() {
  19. - service_start /usr/sbin/haveged -w $HAVEGED_THRESHOLD -d $HAVEGED_DCACHE -i $HAVEGED_ICACHE -v 1
  20. + service_start /usr/sbin/haveged -w $HAVEGED_THRESHOLD -d $HAVEGED_DCACHE -i $HAVEGED_ICACHE -v 1 -o t${HAVEGED_TESTS_TOT}c${HAVEGED_TESTS_CONT}
  21. }
  22. stop() {