]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/initscripts/init.d/cleanfs
Bootscripte an den IPFire angepasst.
[ipfire-2.x.git] / src / initscripts / init.d / cleanfs
index 9a4e1860108807fdb92f51a3e728958dcb50eb68..c102d02ea3a973789b2d6b0bba073e38c778d64f 100644 (file)
@@ -78,6 +78,17 @@ 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