[scripts] force removal of entropy pid file from system image

This commit is contained in:
Fabio Erculiani
2011-08-31 11:43:03 +02:00
parent cabccec56b
commit af72ab84ed
6 changed files with 22 additions and 0 deletions

View File

@@ -1,4 +1,8 @@
#!/bin/sh
# make sure there is no stale pid file around that prevents entropy from running
rm -f /var/run/entropy/entropy.lock
export FORCE_EAPI=2
equo update
if [ "${?}" != "0" ]; then