Linux ih01.iridiumhosting.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
LiteSpeed
Server IP : 67.227.241.211 & Your IP : 216.73.216.226
Domains :
Cant Read [ /etc/named.conf ]
User : dustinhy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
MXB /
rear /
usr /
share /
rear /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
validated
[ DIR ]
drwxr-xr-x
2026-04-01 09:39
_framework-setup-and-functions.sh
111.2
KB
-rw-r--r--
2026-04-01 09:39
array-functions.sh
1.08
KB
-rw-r--r--
2026-04-01 09:39
authtoken-functions.sh
16.84
KB
-rw-r--r--
2026-04-01 09:39
bareos-functions.sh
10.3
KB
-rw-r--r--
2026-04-01 09:39
bootloader-functions.sh
43.74
KB
-rw-r--r--
2026-04-01 09:39
borg-functions.sh
6.9
KB
-rw-r--r--
2026-04-01 09:39
checkintegrity-workflow.sh
385
B
-rw-r--r--
2026-04-01 09:39
checklayout-workflow.sh
646
B
-rw-r--r--
2026-04-01 09:39
columns-functions.sh
2.95
KB
-rw-r--r--
2026-04-01 09:39
config-functions.sh
7.88
KB
-rw-r--r--
2026-04-01 09:39
cove-functions.sh
2.61
KB
-rw-r--r--
2026-04-01 09:39
drlm-functions.sh
2.6
KB
-rw-r--r--
2026-04-01 09:39
dump-workflow.sh
7.63
KB
-rw-r--r--
2026-04-01 09:39
filesystems-functions.sh
12.08
KB
-rw-r--r--
2026-04-01 09:39
finalizeonly-workflow.sh
1.22
KB
-rw-r--r--
2026-04-01 09:39
format-workflow.sh
3.79
KB
-rw-r--r--
2026-04-01 09:39
global-functions.sh
49.92
KB
-rw-r--r--
2026-04-01 09:39
help-workflow.sh
3.6
KB
-rw-r--r--
2026-04-01 09:39
hp_raid-functions.sh
871
B
-rw-r--r--
2026-04-01 09:39
layout-functions.sh
64.96
KB
-rw-r--r--
2026-04-01 09:39
layoutonly-workflow.sh
803
B
-rw-r--r--
2026-04-01 09:39
linux-functions.sh
14.6
KB
-rw-r--r--
2026-04-01 09:39
mail-functions.sh
1.39
KB
-rw-r--r--
2026-04-01 09:39
mkbackup-workflow.sh
585
B
-rw-r--r--
2026-04-01 09:39
mkbackuponly-workflow.sh
368
B
-rw-r--r--
2026-04-01 09:39
mkboot-workflow.sh
1.13
KB
-rw-r--r--
2026-04-01 09:39
mkopalpba-workflow.sh
890
B
-rw-r--r--
2026-04-01 09:39
mkrescue-functions.sh
5.72
KB
-rw-r--r--
2026-04-01 09:39
mkrescue-workflow.sh
461
B
-rw-r--r--
2026-04-01 09:39
mksystemstate-workflow.sh
539
B
-rw-r--r--
2026-04-01 09:39
mountonly-workflow.sh
1.7
KB
-rw-r--r--
2026-04-01 09:39
network-functions.sh
8.53
KB
-rw-r--r--
2026-04-01 09:39
opal-functions.sh
15.67
KB
-rw-r--r--
2026-04-01 09:39
opaladmin-workflow.sh
18.37
KB
-rw-r--r--
2026-04-01 09:39
output-functions.sh
3.17
KB
-rw-r--r--
2026-04-01 09:39
progresssubsystem.nosh
2.32
KB
-rw-r--r--
2026-04-01 09:39
rear-shell.bashrc
2.68
KB
-rw-r--r--
2026-04-01 09:39
recover-workflow.sh
1.59
KB
-rw-r--r--
2026-04-01 09:39
restoreonly-workflow.sh
832
B
-rw-r--r--
2026-04-01 09:39
rsync-functions.sh
4.56
KB
-rw-r--r--
2026-04-01 09:39
savelayout-workflow.sh
643
B
-rw-r--r--
2026-04-01 09:39
serial-functions.sh
3.98
KB
-rw-r--r--
2026-04-01 09:39
sesam-functions.sh
1.18
KB
-rw-r--r--
2026-04-01 09:39
shell-workflow.sh
648
B
-rw-r--r--
2026-04-01 09:39
tpmpwd-functions.sh
625
B
-rw-r--r--
2026-04-01 09:39
udev-workflow.sh
3.27
KB
-rw-r--r--
2026-04-01 09:39
uefi-functions.sh
9.69
KB
-rw-r--r--
2026-04-01 09:39
validate-workflow.sh
4.91
KB
-rw-r--r--
2026-04-01 09:39
write-protect-functions.sh
7.75
KB
-rw-r--r--
2026-04-01 09:39
Save
Rename
# config-functions.sh # # configuration functions 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. # Find out which OS vendor and version we run on (openSUSE, SLES, RHEL, Fedora, Debian, ...) function SetOSVendorAndVersion () { # If these variables are already set, skip doing it again. # This is needed, so that they can be overridden in $WORKFLOW.conf # if this happens, then ALL the variables OS_* have to be set there. # The test must match OS_VENDOR=generic or OS_VERSION=none in default.conf: if test "$OS_VENDOR" = generic -o "$OS_VERSION" = none ; then # Recent Linux distro's with systemd has the /etc/os-release file # Try to find all the required information from that file if [[ -f /etc/os-release ]] ; then grep -q -i 'fedora' /etc/os-release && OS_VENDOR=Fedora grep -q -i -E '(centos|rhel|scientific|oracle)' /etc/os-release && OS_VENDOR=RedHatEnterpriseServer grep -q -i 'suse' /etc/os-release && OS_VENDOR=SUSE_LINUX grep -q -i 'debian' /etc/os-release && OS_VENDOR=Debian grep -q -i -E '(ubuntu|linuxmint)' /etc/os-release && OS_VENDOR=Ubuntu grep -q -i 'arch' /etc/os-release && OS_VENDOR=Arch_Linux local VERSION_ID eval "$(grep "^VERSION_ID=" /etc/os-release)" contains_visible_char "$VERSION_ID" && OS_VERSION="$VERSION_ID" fi # For non-systemd distro's try the /etc/system-release file if test "$OS_VENDOR" = generic ; then if [[ -f /etc/system-release ]] ; then grep -q -i 'fedora' /etc/system-release && OS_VENDOR=Fedora grep -q -i -E '(centos|redhat|scientific|oracle)' /etc/system-release && OS_VENDOR=RedHatEnterpriseServer grep -q -i 'suse' /etc/system-release && OS_VENDOR=SUSE_LINUX grep -q -i 'mandriva' /etc/system-release && OS_VENDOR=Mandriva majornr=$( grep -o -E '[0-9]+' /etc/system-release | head -1 ) minornr=$( grep -o -E '[0-9]+' /etc/system-release | head -2 | tail -1 ) OS_VERSION="$majornr.$minornr" fi fi # For older distro's we try to interpret the /etc/SuSE-release or /etc/redhat-release file # The /etc/issue file cannot be trusted as it can contain customer related info instead of release info if test "$OS_VENDOR" = generic ; then if [[ -f /etc/SuSE-release ]] ; then OS_VENDOR=SUSE_LINUX majornr=$( grep VERSION /etc/SuSE-release | awk '{print $3}' ) minornr=$( grep PATCHLEVEL /etc/SuSE-release | awk '{print $3}' ) OS_VERSION="$majornr.$minornr" fi if [[ -f /etc/redhat-release ]] ; then OS_VENDOR=RedHatEnterpriseServer majornr=$( grep -o -E '[0-9]+' /etc/system-release | head -1 ) minornr=$( grep -o -E '[0-9]+' /etc/system-release | head -2 | tail -1 ) OS_VERSION="$majornr.$minornr" fi if [[ -f /etc/slackware-version ]] ; then OS_VENDOR=Slackware OS_VERSION=$(cat /etc/slackware-version | sed -r -e 's/slackware\s*//i') fi fi # If OS_VENDOR is still generic then use as last resource 'lsb_release' to find out if test "$OS_VENDOR" = generic ; then # When OS_VENDOR is still "generic" we are using a pre-systemd system and need to fallback # to lsb_release, therefore, as it is not a required binary we will check if we have this # executable and when absent bail out with an error if ! has_binary lsb_release ; then Error "The 'lsb_release' command cannot be run. Detecting the operating system and its version requires LSB support. Install a software package that provides the 'lsb_release' command. Alternatively you can manually specify OS_VENDOR and OS_VERSION in '$CONFIG_DIR/os.conf' and verify that your setup actually works. See '$SHARE_DIR/lib/config-functions.sh' for more details." fi OS_VENDOR="$( lsb_release -i -s | tr -s '[:blank:]' '_' )" test "$OS_VENDOR" || Error "Failed to detect OS_VENDOR. You may manually specify it in $CONFIG_DIR/os.conf" # For all SUSE distributions (SLES and openSUSE) ReaR uses # only .../SUSE_LINUX/... sub-directories plus conf/SUSE_LINUX.conf # so that 'lsb_release -i -s' output must be unified to 'SUSE_LINUX'. # For example 'lsb_release -i -s' outputs # on SLES11 SP3 : 'SUSE LINUX' # on SLES12 12 SP2 : 'SUSE' # on openSUSE Leap 42.1 : 'SUSE LINUX' # on openSUSE Tumbleweed 20170304 : 'openSUSE' # so that the common substring is 'SUSE'. # When OS_VENDOR contains the substring 'SUSE', set OS_VENDOR to 'SUSE_LINUX': test "${OS_VENDOR#*SUSE}" = "$OS_VENDOR" || OS_VENDOR="SUSE_LINUX" OS_VERSION="$( lsb_release -r -s | tr -s '[:blank:]' '_' )" test "$OS_VERSION" || Error "Failed to detect OS_VERSION. You may manually specify it in $CONFIG_DIR/os.conf" fi fi # combined stuff OS_VENDOR_VERSION="$OS_VENDOR/$OS_VERSION" OS_VENDOR_ARCH="$OS_VENDOR/$MACHINE" OS_VENDOR_VERSION_ARCH="$OS_VENDOR/$OS_VERSION/$MACHINE" # add OS_MASTER_* vars in case this is a derived OS case "$( echo $OS_VENDOR_VERSION | tr '[A-Z]' '[a-z]' )" in (*oracle*|*centos*|*fedora*|*redhat*|*scientific*) OS_MASTER_VENDOR="Fedora" ;; (*ubuntu*|*linuxmint*) OS_MASTER_VENDOR="Debian" ;; (*archlinux*) OS_MASTER_VENDOR="Arch_Linux" ;; (*suse*) # When OS_VENDOR_VERSION contains 'SUSE', set OS_MASTER_VENDOR to 'SUSE' # but do not set OS_MASTER_VENDOR same as OS_VENDOR (i.e. 'SUSE_LINUX') # (cf. above: all SUSE distributions ... must be unified to 'SUSE_LINUX') # because then scripts in a .../SUSE_LINUX/... sub-directoriy and conf/SUSE_LINUX.conf # get sourced twice by the (buggy) SourceStage function in lib/_framework-setup-and-functions.sh OS_MASTER_VENDOR="SUSE" ;; (*) # set fallback values to avoid error exit for 'set -eu' because of unbound variables: OS_MASTER_VENDOR="" ;; esac # Set master version to the MAJOR release version. ReaR assumes that OS_MASTER_VERSION # is just the major release number extracted from OS_VERSION and not the version of the derived OS. # If OS_VERSION is of the form 12.34.56, OS_MASTER_VERSION is only the first part '12'. # # Because openSUSE Tumbleweed has rolling releases, OS_VERSION is a date of the form YYYYMMDD. # Therefore, there is no real OS_MASTER_VERSION and this variable will be set to the same value # as OS_VERSION. # # TODO: Rename the variable to be less confusing, e.g. to OS_VERSION_MAJOR. OS_MASTER_VERSION="${OS_VERSION%%.*}" # combined stuff for OS_MASTER_* if [ "$OS_MASTER_VENDOR" ] ; then OS_MASTER_VENDOR_VERSION="$OS_MASTER_VENDOR/$OS_MASTER_VERSION" OS_MASTER_VENDOR_ARCH="$OS_MASTER_VENDOR/$MACHINE" OS_MASTER_VENDOR_VERSION_ARCH="$OS_MASTER_VENDOR/$OS_MASTER_VERSION/$MACHINE" else # set fallback values to avoid error exit for 'set -eu' because of unbound variables: OS_MASTER_VENDOR_VERSION="$OS_MASTER_VERSION" OS_MASTER_VENDOR_ARCH="$MACHINE" OS_MASTER_VENDOR_VERSION_ARCH="$OS_MASTER_VERSION/$MACHINE" fi } ### Return the template filename function get_template() { if [[ -e $CONFIG_DIR/templates/$1 ]] ; then echo $CONFIG_DIR/templates/$1 else echo $SHARE_DIR/conf/templates/$1 fi }