From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH] cleanfs: Clean /home/nobody/ as well Date: Sun, 16 Jun 2024 14:37:00 +0000 Message-ID: <6c55f0b1-e991-41a4-a98b-ca387bb37f6c@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0230475964224207694==" List-Id: --===============0230475964224207694== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- 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 --===============0230475964224207694==--