summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-07-29 14:03:36 -0400
committerjim-p <jimp@pfsense.org>2010-07-29 14:03:36 -0400
commit6fe72bc84ee8926d787613455b0c5eccf23788e2 (patch)
treed08a41a30721b88fee52f52cabff90741c1167db /etc/rc.firmware
parentbf07217998ed65da6f9aea2d1a2db2f078202731 (diff)
downloadpfsense-6fe72bc84ee8926d787613455b0c5eccf23788e2.zip
pfsense-6fe72bc84ee8926d787613455b0c5eccf23788e2.tar.gz
Use cp -p to preserve permissions (exec)
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 036c340..35b25e8 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -84,7 +84,7 @@ binary_update() {
rm ${ERR_F} 2>/dev/null
/bin/mkdir /tmp/patched /tmp/patches 2>>${ERR_F}
# Save the old shutdown binary. If we switch from i386 to amd64 (or back) the reboot binary won't run at the end since it doesn't match up.
- /bin/cp /sbin/shutdown /sbin/shutdown.old
+ /bin/cp -p /sbin/shutdown /sbin/shutdown.old
backup_chflags
remove_chflags
cd /tmp/patches
OpenPOWER on IntegriCloud