Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.48.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : rhnsd.cpython-36.pyc
3

���gS�@srddlZdgZd
dd�Zddd�Zedkrneed��eedd	��eed
d	d��eed	d��eed��dS)�N�	configurecCs�d}t|d�}|j�}d}d}g}xB|D]:}|j�}	|j|	�|	jdd�}
|
ddkrZ|}|d}q(W|dkrzd|||<|j�t|d�}d	j|�}|j|�|j�dS)
Nz/etc/sysconfig/rhn/rhnsd�rr�=�ZINTERVALzINTERVAL=%s�w�
)�open�	readlines�strip�append�split�close�join�write)�interval�
cache_onlyZrhnsdconfig�fd�lines�count�indexZtmplines�lineZtmp�comps�contents�r�/usr/lib/python3.6/rhnsd.py�
__configRhnsds(





rcCsb|rddifSd}|rByt|�d}Wntk
r@ddifSX|rXtjd�}|d}d|ifS)	Nrzno-ops for caching�zrhnsd interval config updated. �%z)Could not modify /etc/sysconfig/rhn/rhnsdz'/sbin/service rhnsd restart > /dev/nullzrhnsd restarted)r�IOError�os�system)r�restartr�msgZrcrrrr(s

�__main__Z240Z361rZ127)r!Z192)N)NNN)rZ
__rhnexport__rr�__name__�printrrrr�<module>s


© 2025 XylotrechusZ