/usr/libexec
#!/usr/bin/bash # import-state: import state files from initramfs (e.g. network config) # Copy state into root folder: # ============================ cd /run/initramfs/state IFS_backup=$IFS IFS=$'\n' # Process find's results line by line dirs_found=$(find . -type d) for dir in $dirs_found; do pushd "$dir" > /dev/null # Remove initial '.' char from the find's result: dest_dir="${dir/\./}" # Create destination folder if it does not exist (with the same rights): if [[ -n "$dest_dir" && ! -d "$dest_dir" ]]; then mkdir -p "$dest_dir" chmod --reference="$PWD" "$dest_dir" chown --reference="$PWD" "$dest_dir" fi # Copy all files that are not directory: find . -mindepth 1 -maxdepth 1 -not -type d -exec cp -av -t "$dest_dir" {} \; > /dev/null popd > /dev/null done IFS=$IFS_backup # Run restorecon on the copied files: # =================================== if [ -e /sys/fs/selinux/enforce ] && [ -x /usr/sbin/restorecon ]; then find . -mindepth 1 -print0 | { cd / && xargs --null restorecon -iF; } fi
.
Edit
..
Edit
arptables-helper
Edit
arptables-nft-helper
Edit
at-spi-bus-launcher
Edit
at-spi2-registryd
Edit
awk
Edit
cloudlinux-backup
Edit
copy_jdk_configs.lua
Edit
copy_jdk_configs_fixFiles.sh
Edit
coreutils
Edit
cpanel-pdns
Edit
dconf-service
Edit
dirmngr_ldap
Edit
dnf-utils
Edit
dovecot
Edit
dpkg
Edit
exim.daemon
Edit
fips-setup-helper
Edit
flatpak-oci-authenticator
Edit
flatpak-portal
Edit
flatpak-session-helper
Edit
flatpak-system-helper
Edit
flatpak-validate-icon
Edit
gawk
Edit
gcc
Edit
generate-rndc-key.sh
Edit
geoclue
Edit
geoclue-2.0
Edit
getconf
Edit
git-core
Edit
glib-pacrunner
Edit
gpg-check-pattern
Edit
gpg-pair-tool
Edit
gpg-preset-passphrase
Edit
gpg-protect-tool
Edit
gpg-wks-client
Edit
grepconf.sh
Edit
grub2
Edit
grubby
Edit
gstreamer-1.0
Edit
hostname
Edit
import-state
Edit
imunify-message-gateway
Edit
imunify-notifier
Edit
imunify360
Edit
imunify360-cgroup-process-wrapper
Edit
initscripts
Edit
installkernel
Edit
irqbalance
Edit
keyboxd
Edit
linux-boot-probes
Edit
loadmodules
Edit
low-memory-monitor
Edit
man-db
Edit
microcode_ctl
Edit
netdata
Edit
nfs-utils
Edit
nfsrahead
Edit
nm-daemon-helper
Edit
nm-dhcp-helper
Edit
nm-dispatcher
Edit
nm-ifdown
Edit
nm-ifup
Edit
nm-initrd-generator
Edit
nm-priv-helper
Edit
openldap
Edit
openssh
Edit
os-prober
Edit
os-probes
Edit
p11-kit
Edit
passenger
Edit
platform-python
Edit
platform-python-config
Edit
platform-python3.9
Edit
platform-python3.9-config
Edit
platform-python3.9-x86_64-config
Edit
report-command-error
Edit
revokefs-fuse
Edit
rtkit-daemon
Edit
run-with-intensity
Edit
scdaemon
Edit
selinux
Edit
smartmontools
Edit
sssd
Edit
sudo
Edit
totem-pl-parser
Edit
tracker-extract-3
Edit
tracker-miner-fs-3
Edit
tracker-miner-fs-control-3
Edit
tracker-writeback-3
Edit
tracker-xdg-portal-3
Edit
tracker3
Edit
tuned
Edit
upowerd
Edit
utempter
Edit
vi
Edit
virt-what-cpuid-helper
Edit
xdg-desktop-portal
Edit
xdg-desktop-portal-gtk
Edit
xdg-document-portal
Edit
xdg-permission-store
Edit