Find '-maxdepth' option specified after '-perm' argument in
/etc/init.d/bootclean.sh causes warning message from 'find' command at
boot time.
The following patch seems to correct this:
# ----------begin 'diff -u'
--- bootclean.sh.BAK 2004-09-10 17:00:48.000000000 +0200
+++ bootclean.sh 2005-06-22 09:49:23.000000000 +0200
@@ -53,7 +53,7 @@
! ( -path ./.clean -uid 0 )
! ( -path './...security*' -uid 0 )'
- ( if cd /tmp && [ "`find . -perm -002 -maxdepth 0`" = "." ]
+ ( if cd /tmp && [ "`find . -maxdepth -perm -002 0`" = "." ]
then
# First remove all old files.
find . -xdev $TEXPR $EXCEPT \
# ----------end 'diff -u'
Regards,
BF
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]