mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
cleanup
This commit is contained in:
@@ -3,14 +3,13 @@ from ssh_lib.utils import apt_get_install, apt_get_purge, put, put_str
|
||||
|
||||
|
||||
def setup_kernel_settings(c):
|
||||
put(c, f'{config}/sysctl/60-ofm.conf', '/etc/sysctl.d/')
|
||||
put(c, f'{config}/limits/limits-ofm.conf', '/etc/security/limits.d/')
|
||||
put(c, f'{config}/kernel/60-ofm.conf', '/etc/sysctl.d/')
|
||||
put(c, f'{config}/kernel/limits-ofm.conf', '/etc/security/limits.d/')
|
||||
|
||||
|
||||
def set_cpu_governor(c):
|
||||
apt_get_install(c, 'cpufrequtils')
|
||||
apt_get_purge(c, 'linux-tools-*')
|
||||
# c.run('systemctl disable ondemand') # not working on 22
|
||||
|
||||
put_str(
|
||||
c,
|
||||
|
||||
Reference in New Issue
Block a user