mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
unbound: adjust previous a bit to align with the rest of the code
This commit is contained in:
parent
48d693458d
commit
a03c2f9623
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user