golden hour
/lib/systemd
⬆️ Go Up
Upload
File/Folder
Size
Actions
catalog
-
Del
OK
import-pubring.gpg
9.33 KB
Del
OK
ntp-units.d
-
Del
OK
rhel-autorelabel
2.31 KB
Del
OK
rhel-configure
399 B
Del
OK
rhel-dmesg
110 B
Del
OK
rhel-dmraid-activation
599 B
Del
OK
rhel-domainname
158 B
Del
OK
rhel-import-state
1.03 KB
Del
OK
rhel-loadmodules
233 B
Del
OK
rhel-readonly
5.77 KB
Del
OK
scripts
-
Del
OK
system
-
Del
OK
system-generators
-
Del
OK
system-preset
-
Del
OK
system-shutdown
-
Del
OK
system-sleep
-
Del
OK
systemd
1.56 MB
Del
OK
systemd-ac-power
23.41 KB
Del
OK
systemd-activate
68.52 KB
Del
OK
systemd-backlight
73.02 KB
Del
OK
systemd-binfmt
60.73 KB
Del
OK
systemd-bootchart
125.06 KB
Del
OK
systemd-cgroups-agent
35.9 KB
Del
OK
systemd-coredump
129.87 KB
Del
OK
systemd-cryptsetup
101.27 KB
Del
OK
systemd-fsck
331.22 KB
Del
OK
systemd-hibernate-resume
39.95 KB
Del
OK
systemd-hostnamed
367.16 KB
Del
OK
systemd-importd
367.75 KB
Del
OK
systemd-initctl
309.84 KB
Del
OK
systemd-journald
338.07 KB
Del
OK
systemd-localed
375.22 KB
Del
OK
systemd-logind
624.84 KB
Del
OK
systemd-machine-id-commit
52.19 KB
Del
OK
systemd-machined
482.09 KB
Del
OK
systemd-modules-load
64.8 KB
Del
OK
systemd-pull
183.14 KB
Del
OK
systemd-quotacheck
43.95 KB
Del
OK
systemd-random-seed
48.13 KB
Del
OK
systemd-readahead
97.5 KB
Del
OK
systemd-remount-fs
56.52 KB
Del
OK
systemd-reply-password
35.93 KB
Del
OK
systemd-rfkill
60.75 KB
Del
OK
systemd-shutdown
146.76 KB
Del
OK
systemd-shutdownd
64.52 KB
Del
OK
systemd-sleep
89.16 KB
Del
OK
systemd-socket-proxyd
105.52 KB
Del
OK
systemd-sysctl
64.83 KB
Del
OK
systemd-sysv-install
-
Del
OK
systemd-timedated
375.91 KB
Del
OK
systemd-udevd
406.45 KB
Del
OK
systemd-update-done
44.07 KB
Del
OK
systemd-update-utmp
309.86 KB
Del
OK
systemd-user-sessions
44.16 KB
Del
OK
systemd-vconsole-setup
52.19 KB
Del
OK
user
-
Del
OK
user-generators
-
Del
OK
user-preset
-
Del
OK
Edit: 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