0
ˆ
ƒN¾À¿
ˆ
ƒ�·¾À¿ Ÿ
Index of /FSS-BCZ/root/sys/dev/char/4:7/subsystem/tty61/power
Index of /FSS-BCZ/root/sys/dev/char/4:7/subsystem/tty61/power
µ
Index of /FSS-BCZ/root/sys/class/tty/tty23/subsystem/tty27
Index of /FSS-BCZ/root/sys/class/tty/tty23/subsystem/tty27
: ˆl–Ðz¾”Ëm
q@=q¦nõ1hßÃ
ƒu×ÅÂa–ß=¿JJj"Tâ‚
ÆEp©‹FÿÁ p # -*- coding: utf-8 -*-
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2018 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT
#
import os
from configparser import ConfigParser
from clcommon.utils import run_command, get_file_lines, ExternalProgramFailed
from typing import AnyStr, List # NOQA
SYSCTL_CL_CONF_FILE = '/etc/sysctl.d/90-cloudlinux.conf'
SYSCTL_FILE = '/etc/sysctl.conf'
class SysCtlConf:
"""
For reading params from sysctl
"""
SYSCTL_BIN = '/sbin/sysctl'
def __init__(self, config_file=SYSCTL_FILE, mute_errors=True):
# type: (AnyStr, bool) -> None
"""
:param config_file: path to user defined systcl config file
:param mute_errors: T/F value to define sh