]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/init.d/cleanfs
Add bootoption to skip an initskript.
[people/pmueller/ipfire-2.x.git] / src / initscripts / init.d / cleanfs
index 9a4e1860108807fdb92f51a3e728958dcb50eb68..855e63e7b0f47526a50401be98aaa9994877b50f 100644 (file)
@@ -78,6 +78,14 @@ 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