summaryrefslogtreecommitdiffstats
path: root/etc/rc.shutdown
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-02-24 10:51:16 -0500
committerjim-p <jimp@pfsense.org>2011-02-24 10:51:16 -0500
commitbcc85621ee24c9d03625932630dd85659164c1d0 (patch)
tree956086c63ba4066af522305ccecc3383d4cad5a7 /etc/rc.shutdown
parent22beab884d2c93852058bdb6586227d9acd039e6 (diff)
downloadpfsense-bcc85621ee24c9d03625932630dd85659164c1d0.zip
pfsense-bcc85621ee24c9d03625932630dd85659164c1d0.tar.gz
Fix find again... apparently -xdev is depreciated and tosses errors, replaced by -x
Diffstat (limited to 'etc/rc.shutdown')
-rwxr-xr-xetc/rc.shutdown2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud