From bcc85621ee24c9d03625932630dd85659164c1d0 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 24 Feb 2011 10:51:16 -0500 Subject: Fix find again... apparently -xdev is depreciated and tosses errors, replaced by -x --- etc/rc.shutdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc.shutdown b/etc/rc.shutdown index 2c2245e..b122f3f 100755 --- a/etc/rc.shutdown +++ b/etc/rc.shutdown @@ -28,7 +28,7 @@ export PATH # temporary files on shutdown from /tmp/ PLATFORM=`cat /etc/platform` if [ "$PLATFORM" = "pfSense" ]; then - find -xdev /tmp/ |xargs rm -f + find -x /tmp/ -exec rm -f {} \; else /etc/rc.backup_rrd.sh /etc/rc.backup_dhcpleases.sh -- cgit v1.1