unbound: adjust previous a bit to align with the rest of the code

This commit is contained in:
Franco Fichtner 2024-02-26 08:59:15 +01:00
parent 48d693458d
commit a03c2f9623

View File

@ -123,6 +123,7 @@ function unbound_service_stop()
mwexecf('/sbin/umount %s', '/var/unbound/dev', true);
mwexecf('/sbin/umount %s', '/var/unbound/usr/local/lib/' . readlink('/usr/local/bin/python3'), true);
mwexecf('/sbin/umount %s', '/var/unbound/lib');
}
function unbound_generate_config()
@ -142,7 +143,7 @@ function unbound_generate_config()
mwexecf('/sbin/mount -t devfs devfs %s', '/var/unbound/dev');
mwexecf('/sbin/mount -r -t nullfs %s %s', [$python_dir, $chroot_python_dir]);
mwexec('/sbin/mount -r -t nullfs /lib /var/unbound/lib');
mwexecf('/sbin/mount -r -t nullfs %s %s', ['/lib', '/var/unbound/lib']);
$optimization = unbound_optimization();