diff options
author | Roy Marples <roy@marples.name> | 2009-04-12 12:59:00 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-04-12 12:59:00 +0000 |
commit | cba9f1271510656a27b60402593dc3be2645acae (patch) | |
tree | a28a117023d93a4372ac3cf923280ad14b4af4fb | |
parent | dea9e11a693527925ecaf007056ae7653d935dfd (diff) |
Simplfy rm matching pattern, thanks to cypherpunks@mailinator.com
-rw-r--r-- | init.d/bootmisc.in | 2 |
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" \ |