Tj*ddlZddlZdZdZdZdZdS)NzAleksandr Shyshatskyctj|r>tj|rtj|tjsdS tj|}n#t$rYdSwxYw|jdks |j dkrdS|j t j t j zzrdSdS)zReturn True only if path is absolute, a regular file, executable, owned by root, and not writable by group or other (F-13).FrT) ospathisabsisfileaccessX_OKstatOSErrorst_uidst_gidst_modeS_IWGRPS_IWOTH)rsts /builddir/build/BUILDROOT/alt-python27-cllib-3.4.41-1.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/clcustomscript.py_is_safe_scriptr s GMM$  BGNN4$8$8 $((u WT]] uu yA~~au zT\DL01u 4s!A66 BBcXd} tjtrt tdd5}|}dddn #1swxYwY|D]}|}||rs|d}t|dkrK|d|kr-|d }t|r|cSn#tttf$rYnwxYwdS) z Retrives custom panel script for lvectl from CL config file :return: Script full path or None if script filename not find in config CUSTOM_GETPACKAGE_SCRIPTrzutf-8)encodingN=r)rrexists CLSYSCONFIGopen readlinesstrip startswithsplitlenrr IOError IndexError)config_param_namef file_linesline line_parts script_names rlvectl_custompanel_scriptr+sf 3 7>>+ & & /k3999 +Q[[]]  + + + + + + + + + + + + + + +" / /zz||??#455/!%CJ:!++ 1 0C0C0E0EIZ0Z0Z&0m&9&9&;&; *;77/#.... Wj )      4s;;D A  D A$$D 'A$(B"D D D'&D'z/etc/sysconfig/cloudlinux)rr __author__rr+rrr/sG # "4* r.