summaryrefslogtreecommitdiff
path: root/package/rng-tools
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:57:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:57:30 +0100
commit0a96e4538fe6552dd75aa939b249030f4cdfd77f (patch)
tree8c998c4ab78ea4b60d433847a9632466b9a814a4 /package/rng-tools
parent845317b460ee99ad633534cad4de72404af7e30b (diff)
fix startup scripts, fix stop routine
Diffstat (limited to 'package/rng-tools')
-rw-r--r--package/rng-tools/files/rngd.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/rng-tools/files/rngd.init b/package/rng-tools/files/rngd.init
index 1464209c0..3fd74fb7d 100644
--- a/package/rng-tools/files/rngd.init
+++ b/package/rng-tools/files/rngd.init
@@ -22,10 +22,10 @@ start)
echo "no hardware RNG found, falling back to /dev/urandom"
devnode=/dev/urandom
fi
- rngd -b -r $devnode
+ /usr/sbin/rngd -b -r $devnode
;;
stop)
- pkill rngd
+ kill $(pgrep -f /usr/sbin/rngd)
;;
restart)
sh $0 stop