diff options
Diffstat (limited to 'community/rng-tools')
-rw-r--r-- | community/rng-tools/APKBUILD | 4 | ||||
-rw-r--r-- | community/rng-tools/rngd.confd | 5 | ||||
-rw-r--r-- | community/rng-tools/rngd.initd | 16 |
3 files changed, 15 insertions, 10 deletions
diff --git a/community/rng-tools/APKBUILD b/community/rng-tools/APKBUILD index 648cf7f20c..d102c0c55a 100644 --- a/community/rng-tools/APKBUILD +++ b/community/rng-tools/APKBUILD @@ -50,5 +50,5 @@ package() { sha512sums="ffd8be5b232f092f8bcfdb6281580ce9053ec8bb87ff6bcae76585c38e3e91b9e464a9544a33ecd9814a9f244a89bac973d15c9bd3560d1164559685c720d174 rng-tools-6.2.tar.gz 5c8196c3e70c093215fc0720cd3f58f339f74293a7eb35d95b914591d783472119dcc34fb27ab6a4c3ce5359e050b4987d1e7ddf213a7445fc0b70d9fae5eae5 fix-textrels-on-PIC-x86.patch -ce82f583ab06580f038f17d4ecc84655cfc001abf344f9a50d12b8c1a5a6c4b74c386fbbc8b130201e4c34a7d99da75a4e64bcc41b2aebd381e74a352b5531c4 rngd.confd -46abb31d575854a51fc5ee1d31eb436e153cf969435d5b835d6fb44f4bdce549378ca9abcd81142abeb650312bd62133552eed2bec4eb9035f9456f739f1a3b7 rngd.initd" +0646fadcdd655038e990b84f7af77f4d0bf4e3353ced849d095d1068f466c9844d8ecdf455f3d7048264a94f60505aae0573b90d62f72ae513ddf41769c0654f rngd.confd +f9c1ba451c4c2297872287043414af361d8be2822caa6f76f3ea978f01c83b805b9f48cb00c77c7e57f4e385f6e92f704d55ccda92ef956f4ffe7ba1e4bbfdd8 rngd.initd" diff --git a/community/rng-tools/rngd.confd b/community/rng-tools/rngd.confd index c065e7e3b9..1f28a1f41b 100644 --- a/community/rng-tools/rngd.confd +++ b/community/rng-tools/rngd.confd @@ -1 +1,4 @@ -RNGD_OPTS="--no-drng=1 --no-tpm=1" +# Configuration for /etc/init.d/rngd + +# Additional options to pass into rngd(8). +command_args="--no-drng=1 --no-tpm=1" diff --git a/community/rng-tools/rngd.initd b/community/rng-tools/rngd.initd index b91412ddf8..07805ca356 100644 --- a/community/rng-tools/rngd.initd +++ b/community/rng-tools/rngd.initd @@ -1,14 +1,16 @@ #!/sbin/openrc-run -name="rngd" -command="/usr/sbin/${name}" -command_args="-f ${RNGD_OPTS}" +description="Random number generator daemon" + +command="/usr/sbin/rngd" +command_args="-f ${command_args:-$RNGD_OPTS}" command_background="yes" + start_stop_daemon_args="--wait 5" -pidfile="/var/run/${name}.pid" +pidfile="/run/$RC_SVCNAME.pid" depend() { - need localmount - after urandom - provide entropy + need localmount + after urandom + provide entropy } |