aboutsummaryrefslogtreecommitdiff
path: root/system/bit-babbler/rc.seedd.new
diff options
context:
space:
mode:
authorawg <awg@cock.li>2018-07-18 22:09:32 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-21 06:53:30 +0700
commit3f8323881180a1172fa998a9d66b4e6d5582183a (patch)
treeca4e1734a08d7032c4ebc07a2d6bc2f9f19b55b6 /system/bit-babbler/rc.seedd.new
parent6c17771f3157e0b63e5176145ea39b6b69e96acc (diff)
system/bit-babbler: Updated for version 0.8.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/bit-babbler/rc.seedd.new')
-rw-r--r--system/bit-babbler/rc.seedd.new8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/bit-babbler/rc.seedd.new b/system/bit-babbler/rc.seedd.new
index 7742543cd8b89..c7df6b2effc5c 100644
--- a/system/bit-babbler/rc.seedd.new
+++ b/system/bit-babbler/rc.seedd.new
@@ -2,14 +2,16 @@
#
# /etc/rc.d/rc.seedd: start and stop BitBabbler TRNG(s).
+BBOPTS='--daemon --config=/etc/bit-babbler/seedd.conf'
+
seedd_start() {
if [ -S /var/run/bit-babbler/seedd.socket ]; then
echo 'seedd appears to be already running!'
else
echo 'Checking for BitBabbler(s)...'
- /usr/bin/seedd --scan
- echo 'Starting seedd: /usr/bin/seedd --daemon --kernel'
- /usr/bin/seedd --daemon --kernel
+ /usr/bin/seedd --scan
+ echo "Starting seedd: /usr/bin/seedd $BBOPTS"
+ /usr/bin/seedd $BBOPTS
fi
}