$68 GRAYBYTE WORDPRESS FILE MANAGER $41

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib/systemd/system-generators/

HOME
Current File : /lib/systemd/system-generators//selinux-autorelabel-generator.sh
#!/bin/sh

# This systemd.generator(7) detects if SELinux is running and if the
# user requested an autorelabel, and if so sets the default target to
# selinux-autorelabel.target, which will cause the filesystem to be
# relabelled and then the system will reboot again and boot into the
# real default target.

PATH=/usr/sbin:$PATH
unitdir=/usr/lib/systemd/system

# If invoked with no arguments (for testing) write to /tmp.
earlydir="/tmp"
if [ -n "$2" ]; then
    earlydir="$2"
fi

set_target ()
{
    ln -sf "$unitdir/selinux-autorelabel.target" "$earlydir/default.target"
}

if selinuxenabled; then
    if test -f /.autorelabel; then
        set_target
    elif grep -sqE "\bautorelabel\b" /proc/cmdline; then
        set_target
    fi
fi

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
17 Dec 2025 2.13 AM
root / root
0755
kdump-dep-generator.sh
0.524 KB
24 Sep 2024 3.36 PM
root / root
0755
lvm2-activation-generator
131.195 KB
15 Jul 2025 4.03 PM
root / root
0555
nfs-server-generator
66.031 KB
4 Jun 2025 5.54 PM
root / root
0755
rpc-pipefs-generator
37.188 KB
4 Jun 2025 5.54 PM
root / root
0755
selinux-autorelabel-generator.sh
0.726 KB
3 Jul 2024 3.22 AM
root / root
0755
systemd-cryptsetup-generator
32.859 KB
5 Nov 2025 4.26 PM
root / root
0755
systemd-debug-generator
16.453 KB
5 Nov 2025 4.26 PM
root / root
0755
systemd-fstab-generator
45.102 KB
5 Nov 2025 4.26 PM
root / root
0755
systemd-getty-generator
16.766 KB
5 Nov 2025 4.26 PM
root / root
0755
systemd-gpt-auto-generator
28.859 KB
5 Nov 2025 4.26 PM
root / root
0755
systemd-hibernate-resume-generator
12.453 KB
5 Nov 2025 4.26 PM
root / root
0755
systemd-rc-local-generator
12.297 KB
5 Nov 2025 4.26 PM
root / root
0755
systemd-system-update-generator
12.336 KB
5 Nov 2025 4.26 PM
root / root
0755
systemd-sysv-generator
32.891 KB
5 Nov 2025 4.26 PM
root / root
0755
systemd-veritysetup-generator
20.734 KB
5 Nov 2025 4.26 PM
root / root
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF