mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-09 16:01:19 +01:00
Include /usr/libexec in the list of upgrade targets by chflags'ing it first.
This commit is contained in:
parent
34ae9210dd
commit
46fed58ae1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57236
@ -282,7 +282,7 @@ installUpgrade(dialogMenuItem *self)
|
||||
}
|
||||
|
||||
msgNotify("chflags'ing old binaries - please wait.");
|
||||
(void)vsystem("chflags -R noschg /bin /sbin /usr/sbin /usr/bin /usr/lib /kernel*");
|
||||
(void)vsystem("chflags -R noschg /bin /sbin /usr/sbin /usr/bin /usr/lib /usr/libexec /kernel*");
|
||||
|
||||
if (file_readable("/kernel")) {
|
||||
msgNotify("Moving old kernel to /kernel.prev");
|
||||
|
@ -282,7 +282,7 @@ installUpgrade(dialogMenuItem *self)
|
||||
}
|
||||
|
||||
msgNotify("chflags'ing old binaries - please wait.");
|
||||
(void)vsystem("chflags -R noschg /bin /sbin /usr/sbin /usr/bin /usr/lib /kernel*");
|
||||
(void)vsystem("chflags -R noschg /bin /sbin /usr/sbin /usr/bin /usr/lib /usr/libexec /kernel*");
|
||||
|
||||
if (file_readable("/kernel")) {
|
||||
msgNotify("Moving old kernel to /kernel.prev");
|
||||
|
Loading…
Reference in New Issue
Block a user