PATH:
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
[+]
tuned
[-] rtkit-daemon
[edit]
[-] flatpak-session-helper
[edit]
[-] at-spi-bus-launcher
[edit]
[-] nfsrahead
[edit]
[+]
os-prober
[-] flatpak-portal
[edit]
[+]
coreutils
[+]
dpkg
[-] generate-rndc-key.sh
[edit]
[-] at-spi2-registryd
[edit]
[-] fips-setup-helper
[edit]
[-] nm-initrd-generator
[edit]
[+]
irqbalance
[+]
cloud-init
[-] platform-python3.9
[edit]
[+]
utempter
[-] scdaemon
[edit]
[-] cockpit-client
[edit]
[+]
microcode_ctl
[-] grepconf.sh
[edit]
[-] low-memory-monitor
[edit]
[-] loadmodules
[edit]
[+]
grubby
[-] revokefs-fuse
[edit]
[-] geoclue
[edit]
[+]
totem-pl-parser
[-] import-state
[edit]
[-] virt-what-cpuid-helper
[edit]
[-] nm-priv-helper
[edit]
[-] imunify-message-gateway
[edit]
[+]
gawk
[-] tracker-xdg-portal-3
[edit]
[-] dnf-utils
[edit]
[-] cockpit-certificate-helper
[edit]
[-] platform-python
[edit]
[-] keyboxd
[edit]
[-] flatpak-oci-authenticator
[edit]
[-] dconf-service
[edit]
[-] platform-python3.9-x86_64-config
[edit]
[-] vi
[edit]
[-] cockpit-tls
[edit]
[-] glib-pacrunner
[edit]
[+]
hostname
[-] arptables-helper
[edit]
[+]
linux-boot-probes
[-] realmd
[edit]
[+]
grub2
[-] exim.daemon
[edit]
[-] nm-daemon-helper
[edit]
[+]
bluetooth
[-] gpg-preset-passphrase
[edit]
[-] tracker-miner-fs-3
[edit]
[-] pk-offline-update
[edit]
[-] upowerd
[edit]
[-] report-command-error
[edit]
[-] xdg-permission-store
[edit]
[-] gpg-wks-client
[edit]
[-] tracker-miner-fs-control-3
[edit]
[-] cockpit-wsinstance-factory
[edit]
[-] platform-python3.9-config
[edit]
[+]
gcc
[+]
dovecot
[-] flatpak-system-helper
[edit]
[+]
awk
[-] tracker-extract-3
[edit]
[-] xdg-desktop-portal
[edit]
[-] mlocate-run-updatedb
[edit]
[+]
installkernel
[-] nm-dispatcher
[edit]
[+]
rsyslog
[+]
initscripts
[-] gpg-pair-tool
[edit]
[+]
openldap
[-] nm-dhcp-helper
[edit]
[-] flatpak-validate-icon
[edit]
[-] packagekitd
[edit]
[+]
geoclue-2.0
[+]
iptables
[-] gpg-check-pattern
[edit]
[-] cockpit-client.ui
[edit]
[-] platform-python-config
[edit]
[+]
selinux
[+]
psacct
[+]
cpanel-pdns
[-] gpg-protect-tool
[edit]
[+]
gstreamer-1.0
[+]
sssd
[+]
smartmontools
[-] cockpit-askpass
[edit]
[+]
nfs-utils
[+]
man-db
[-] packagekit-direct
[edit]
[+]
imunify-notifier
[+]
getconf
[-] fprintd
[edit]
[-] dirmngr_ldap
[edit]
[-] run-with-intensity
[edit]
[-] cockpit-session
[edit]
[-] cockpit-desktop
[edit]
[+]
openssh
[-] lvresize_fs_helper
[edit]
[-] cockpit-certificate-ensure
[edit]
[+]
p11-kit
[-] xdg-document-portal
[edit]
[-] cockpit-ws
[edit]
[+]
..
[-] arptables-nft-helper
[edit]
[+]
lsm.d
[+]
os-probes
[-] tracker-writeback-3
[edit]
[+]
tracker3
[+]
sudo
[+]
git-core
[-] xdg-desktop-portal-gtk
[edit]