summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-30 21:49:16 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-30 21:49:16 +0000
commit3465f09f39aec379b8299928e8229ded91945649 (patch)
treea3d9d08b517983fc9d1f10ee8be17289d0767f33 /etc/rc.firmware
parent33b7cc0de3d364f2179c3349dd09d67f87361161 (diff)
downloadpfsense-3465f09f39aec379b8299928e8229ded91945649.zip
pfsense-3465f09f39aec379b8299928e8229ded91945649.tar.gz
Send mtree output to syslog
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 39140a6..1d3a12d 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -14,11 +14,11 @@ if [ $1 != "upgrade" ]; then
fi
backup_chflags() {
- /usr/sbin/mtree -Pcp / | bzip2 -9 > /tmp/chflags.dist.bz2
+ /usr/sbin/mtree -Pcp / | bzip2 -9 > /tmp/chflags.dist.bz2 | logger -p daemon.info -i -t UpgradeFlags
}
restore_chflags() {
- cd / && /usr/bin/bzcat /tmp/chflags.dist.bz2 | /usr/sbin/mtree -PU -p /
+ cd / && /usr/bin/bzcat /tmp/chflags.dist.bz2 | /usr/sbin/mtree -PU -p / | logger -p daemon.info -i -t UpgradeFlags
}
remove_chflags() {
OpenPOWER on IntegriCloud