404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.17.75.243: ~ $
#!/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

Filemanager

Name Type Size Permission Actions
cloud-init-generator File 3.02 KB 0755
kdump-dep-generator.sh File 537 B 0755
lvm2-activation-generator File 131.18 KB 0555
nfs-server-generator File 66.07 KB 0755
rpc-pipefs-generator File 37.23 KB 0755
selinux-autorelabel-generator.sh File 743 B 0755
systemd-cryptsetup-generator File 32.86 KB 0755
systemd-debug-generator File 16.45 KB 0755
systemd-fstab-generator File 45.1 KB 0755
systemd-getty-generator File 16.77 KB 0755
systemd-gpt-auto-generator File 28.86 KB 0755
systemd-hibernate-resume-generator File 12.45 KB 0755
systemd-rc-local-generator File 12.29 KB 0755
systemd-system-update-generator File 12.34 KB 0755
systemd-sysv-generator File 32.89 KB 0755
systemd-veritysetup-generator File 20.74 KB 0755