]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
Delete checkdeaddl.lck file on boot.
authorDaniel Weismüller <whytea@ipfire.org>
Thu, 7 Feb 2013 10:36:03 +0000 (11:36 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 7 Feb 2013 11:01:53 +0000 (12:01 +0100)
This lock file does only exist, when the system has suddenly
been shut down while update accelerator is optimizing its cache.

src/initscripts/init.d/cleanfs

index 855e63e7b0f47526a50401be98aaa9994877b50f..d526c35b2eeeb4eb8a3d7953c7d9c3594c457fc7 100644 (file)
@@ -90,6 +90,9 @@ case "${1}" in
                cd /var/lock &&
                find . -type f ! -newer /proc -exec rm -f {} \; || failed=1
 
+               boot_mesg -n " /var/log/updatexlrator" ${NORMAL}
+               rm -f /var/log/updatexlrator/checkdeaddl.lck
+
                boot_mesg " /var/run" ${NORMAL}
                cd /var/run &&
                find . ! -type d ! -name utmp ! -newer /proc \