mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use cp -p to preserve permissions (exec)
This commit is contained in:
parent
bf07217998
commit
6fe72bc84e
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user