public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] cleanfs: Clean /home/nobody/ as well
@ 2024-06-16 14:37 Peter Müller
  0 siblings, 0 replies; only message in thread
From: Peter Müller @ 2024-06-16 14:37 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 627 bytes --]

Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
---
 src/initscripts/system/cleanfs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/initscripts/system/cleanfs b/src/initscripts/system/cleanfs
index d1cbb2547..c78703070 100644
--- a/src/initscripts/system/cleanfs
+++ b/src/initscripts/system/cleanfs
@@ -112,6 +112,9 @@ case "${1}" in
 		fi
 		boot_mesg -n "Cleaning file systems:" ${INFO}
 
+		boot_mesg -n " /home/nobody" ${NORMAL}
+		cd /home/nobody/ && find . -mindepth 1 -delete || failed=1
+
 		boot_mesg -n " /tmp" ${NORMAL}
 		cd /tmp &&
 		find . -xdev -mindepth 1 ! -name lost+found \
-- 
2.35.3

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-16 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-16 14:37 [PATCH] cleanfs: Clean /home/nobody/ as well Peter Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox