diff options
Diffstat (limited to 'system/bit-babbler/rc.seedd.new')
-rw-r--r-- | system/bit-babbler/rc.seedd.new | 8 |
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 } |