bootmisc: do not remove ld-elf32.so.hints

File /var/run/ld-elf32.so.hints is used on FreeBSD 64bit multilib
This fixes #125.
This commit is contained in:
i.Dark_Templar 2017-04-10 17:07:17 +03:00 committed by William Hubbs
parent cc51bdca3b
commit 6f88ee4ec6

View File

@ -71,7 +71,8 @@ cleanup_var_run_dir()
ebegin "Cleaning /var/run"
for x in $(find /var/run ! -type d ! -name utmp \
! -name random-seed ! -name dev.db \
! -name ld-elf.so.hints ! -name ld.so.hints);
! -name ld-elf.so.hints ! -name ld-elf32.so.hints \
! -name ld.so.hints);
do
# Clean stale sockets
if [ -S "$x" ]; then