summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-19 17:23:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-19 17:23:43 +0000
commitccbbd5202e8fadfd5e68f12e2dbaa91504b73f32 (patch)
treed7f0cb6f4a64a78f30fd94b5c8a17dcef626b869 /etc/rc.firmware
parent44d213879d857b3a409624ab714d2e1a5002d251 (diff)
downloadpfsense-ccbbd5202e8fadfd5e68f12e2dbaa91504b73f32.zip
pfsense-ccbbd5202e8fadfd5e68f12e2dbaa91504b73f32.tar.gz
Use complete path to mtree
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index a62b100..a83bd8e 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -14,11 +14,11 @@ if [ $1 != "upgrade" ]; then
fi
backup_chflags() {
- mtree -Pcp / | bzip2 -9 > /tmp/chflags.dist.bz2
+ /usr/sbin/mtree -Pcp / | bzip2 -9 > /tmp/chflags.dist.bz2
}
restore_chflags() {
- cd / && bzcat /tmp/chflags.dist.bz2 | mtree -PU -p /
+ cd / && bzcat /tmp/chflags.dist.bz2 | /usr/sbin/mtree -PU -p /
}
remove_chflags() {
OpenPOWER on IntegriCloud