]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/initscripts/init.d/cleanfs
Merge branch 'iptables-upnpfw' into core67-merge
[ipfire-2.x.git] / src / initscripts / init.d / cleanfs
index 9a4e1860108807fdb92f51a3e728958dcb50eb68..d526c35b2eeeb4eb8a3d7953c7d9c3594c457fc7 100644 (file)
@@ -78,10 +78,21 @@ case "${1}" in
                find . -xdev -mindepth 1 ! -name lost+found \
                        -delete || failed=1
 
+               boot_mesg -n " /var/ipfire/dhcp" ${NORMAL}
+               cd /var/ipfire/dhcpc/ && find . -name "*.pid" -exec rm -f {} \; || failed=1
+               cd /var/ipfire/dhcpc/ && find . -name "*.cache" -exec rm -f {} \; || failed=1
+               cd /var/ipfire/dhcpc/ && find . -name "*.info" -exec rm -f {} \; || failed=1
+
+               boot_mesg -n " /var/ipfire/red" ${NORMAL}
+               cd /var/ipfire/red/ && find . -name active -exec rm -f {} \; || failed=1
+
                boot_mesg -n " /var/lock" ${NORMAL}
                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 \