From b42b4e1dfcfffc1f56cda1a66f92db149041e3b3 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Fri, 12 Jun 2009 14:48:43 +0200 Subject: [PATCH] add entropy client init script --- services/entropy_client | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 services/entropy_client diff --git a/services/entropy_client b/services/entropy_client new file mode 100755 index 000000000..64d32a96f --- /dev/null +++ b/services/entropy_client @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 2009 Fabio Erculiani +# Distributed under the terms of the GNU General Public License v2 + +CLIENT_LOCK="/var/lib/entropy/entropy.lock" + +depend() { + need localmount netmount + # not yet + # use net +} + +start() { + + ebegin "Cleaning Entropy lock files" + # remove client lock + rm -f ${CLIENT_LOCK} + eend 0 + +}