aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-04-12 12:59:00 +0000
committerRoy Marples <roy@marples.name>2009-04-12 12:59:00 +0000
commitcba9f1271510656a27b60402593dc3be2645acae (patch)
treea28a117023d93a4372ac3cf923280ad14b4af4fb
parentdea9e11a693527925ecaf007056ae7653d935dfd (diff)
Simplfy rm matching pattern, thanks to cypherpunks@mailinator.com
-rw-r--r--init.d/bootmisc.in2
1 files changed, 1 insertions, 1 deletions
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" \