0x1949 Team - FAZEMRX - MANAGER
Edit File: ai-bolit.postinst
#!/usr/bin/env bash echo -e "[aibolit]\nAT_CLKTCK=$(getconf CLK_TCK)\n" > /opt/ai-bolit/config.ini chmod 0400 /opt/ai-bolit/config.ini chmod o-rwx /opt/ai-bolit/* chattr +i /opt/ai-bolit/*.php chattr +i /opt/ai-bolit/*.ini chmod o-rwx /lib/systemd/system/aibolit-resident.service case "$1" in configure) /bin/systemctl daemon-reload >/dev/null if /bin/systemctl is-enabled aibolit-resident.service >/dev/null then /bin/systemctl start aibolit-resident.service >/dev/null fi systemctl daemon-reload >/dev/null systemctl enable aibolit-resident.service && \ systemctl enable aibolit-resident.socket && \ systemctl start aibolit-resident.socket ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument '$1'" >&2 exit 1 ;; esac