diff options
author | jim-p <jimp@pfsense.org> | 2011-02-24 10:51:16 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-02-24 10:51:16 -0500 |
commit | bcc85621ee24c9d03625932630dd85659164c1d0 (patch) | |
tree | 956086c63ba4066af522305ccecc3383d4cad5a7 /etc/rc.shutdown | |
parent | 22beab884d2c93852058bdb6586227d9acd039e6 (diff) | |
download | pfsense-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-x | etc/rc.shutdown | 2 |
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 |