404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.224.137.108: ~ $
#!/bin/sh
# This script is called by "systemctl enable/disable" when the given unit is a
# SysV init.d script. It needs to call the distribution's mechanism for
# enabling/disabling those, such as chkconfig, update-rc.d, or similar. This
# can optionally take a --root argument for enabling a SysV init script
# in a chroot or similar.
set -eu

usage() {
    echo "Usage: $0 [--root=path] enable|disable|is-enabled <sysv script name>" >&2
    exit 1
}

ROOT=

# parse options
eval set -- "$(getopt -o r: --long root: -- "$@")"
while true; do
    case "$1" in
        -r|--root)
            ROOT="$2"
            shift 2 ;;
        --) shift ; break ;;
        *) usage ;;
    esac
done

NAME="${2:-}"

run() {
    if [ -n "$ROOT" ] && [ "$ROOT" != "/" ]; then
        chroot "$ROOT" /usr/sbin/update-rc.d "$@"
    else
        /usr/sbin/update-rc.d "$@"
    fi
}

[ -n "$NAME" ] || usage

case "$1" in
    enable)
        # call the command to enable SysV init script $NAME here..
        run "$NAME" defaults
        run "$NAME" enable
        ;;
    disable)
        run "$NAME" defaults
        run "$NAME" disable
        ;;
    is-enabled)
        # exit with 0 if $NAME is enabled, non-zero if it is disabled
        ls "$ROOT"/etc/rc[S5].d/S??"$NAME" >/dev/null 2>&1
        ;;
    *)
        usage ;;
esac

Filemanager

Name Type Size Permission Actions
network Folder 0755
system Folder 0755
system-generators Folder 0755
system-preset Folder 0755
system-shutdown Folder 0755
system-sleep Folder 0755
libsystemd-shared-237.so File 2.26 MB 0644
resolv.conf File 699 B 0644
set-cpufreq File 1.22 KB 0755
systemd File 1.54 MB 0755
systemd-ac-power File 5.98 KB 0755
systemd-backlight File 17.98 KB 0755
systemd-binfmt File 10.06 KB 0755
systemd-cgroups-agent File 9.98 KB 0755
systemd-cryptsetup File 26.01 KB 0755
systemd-dissect File 14.07 KB 0755
systemd-fsck File 17.99 KB 0755
systemd-fsckd File 22.06 KB 0755
systemd-growfs File 18.06 KB 0755
systemd-hibernate-resume File 9.98 KB 0755
systemd-hostnamed File 22.06 KB 0755
systemd-initctl File 14.06 KB 0755
systemd-journald File 126.07 KB 0755
systemd-localed File 34.06 KB 0755
systemd-logind File 214.13 KB 0755
systemd-makefs File 9.98 KB 0755
systemd-modules-load File 14.06 KB 0755
systemd-networkd File 1.57 MB 0755
systemd-networkd-wait-online File 18.07 KB 0755
systemd-quotacheck File 10.06 KB 0755
systemd-random-seed File 9.98 KB 0755
systemd-remount-fs File 14.06 KB 0755
systemd-reply-password File 9.98 KB 0755
systemd-resolved File 374.06 KB 0755
systemd-rfkill File 18.06 KB 0755
systemd-shutdown File 42.07 KB 0755
systemd-sleep File 18.06 KB 0755
systemd-socket-proxyd File 22.07 KB 0755
systemd-sulogin-shell File 10.06 KB 0755
systemd-sysctl File 14.06 KB 0755
systemd-sysv-install File 1.28 KB 0755
systemd-timedated File 26.06 KB 0755
systemd-timesyncd File 38.06 KB 0755
systemd-udevd File 574.44 KB 0755
systemd-update-utmp File 14.06 KB 0755
systemd-user-sessions File 9.98 KB 0755
systemd-veritysetup File 9.98 KB 0755
systemd-volatile-root File 9.98 KB 0755