Hello.
    I prepared this patch in case you find it useful:
--- rng-tools   2011-06-28 22:55:44.000000000 -0300
+++ rng-tools.new       2015-02-18 23:02:41.602094963 -0200
@@ -1,24 +1,31 @@
 #! /bin/sh
-#
-# rng-tools    initscript for the rng-tools package
-#              Copr. 2003 by Henrique de Moraes Holschuh <h...@debian.org>
-#              Copr. 2002 by Viral Shah <vi...@debian.org>
-#
+# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
+if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
+    set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
+fi
 ### BEGIN INIT INFO
 # Provides:            rng-tools
 # Required-Start:      $remote_fs $syslog
 # Required-Stop:       $remote_fs $syslog
 # Default-Start:       2 3 4 5
 # Default-Stop:                0 1 6
+# Short-Description: Hardware random number generator entropy gatherer daemon +# Description: The rngd daemon acts as a bridge between a Hardware TRNG +# (true random number generator) such as the ones in some
+#                      Intel/AMD/VIA chipsets, and the kernel's PRNG
+#                      (pseudo-random number generator), feeding the random
+#                      data to the kernel entropy pool after verifying its
+# randomness, increasing the bandwidth and randomness of
+#                      /dev/random.
 ### END INIT INFO
-#
-#
-# $Id: rng-tools.init,v 1.6.2.10 2008-06-10 19:51:37 hmh Exp $
+
+# Author: (C)2003 by Henrique de Moraes Holschuh <h...@debian.org>
+# Author: (C)2002 by Viral Shah <vi...@debian.org>

 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/sbin/rngd
 NAME=rngd
-DESC="Hardware RNG entropy gatherer daemon"
+DESC="Hardware random number generator entropy gatherer daemon"
 PIDFILE=/var/run/rngd.pid

 DEVICELIST="hwrng hw_random hwrandom intel_rng i810_rng"


    It is based on the current version of /etc/init.d/skeleton for Jessie.
    Thanks for looking into it!

--
Ivan Baldo - iba...@adinet.com.uy - http://ibaldo.codigolibre.net/
From Montevideo, Uruguay, at the south of South America.
Freelance programmer and GNU/Linux system administrator, hire me!
Alternatives: iba...@codigolibre.net - http://go.to/ibaldo


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to