From cba9f1271510656a27b60402593dc3be2645acae Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 12 Apr 2009 12:59:00 +0000 Subject: Simplfy rm matching pattern, thanks to cypherpunks@mailinator.com --- init.d/bootmisc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.d/bootmisc.in') diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in index a490fb80..bfa959e6 100644 --- a/init.d/bootmisc.in +++ b/init.d/bootmisc.in @@ -32,7 +32,7 @@ cleanup_tmp_dir() [ "${RC_UNAME}" = Linux ] && startopts=". -xdev -depth" # Faster than find - rm -rf -- [b-ikm-pr-zA-Z0-9\.]* + rm -rf -- [^ajlq\.]* find ${startopts} ! -name . \ ! -path "./lost+found" \ -- cgit v1.2.3