����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Use an artificial array to get the kernel command line parameters as array elements
kernel_command_line=( $( cat /proc/cmdline ) )
function rear_debug() {
for kernel_command_line_parameter in "${kernel_command_line[@]}" ; do
test "debug" = "$kernel_command_line_parameter" && return 0
done
return 1
}
function unattended_recovery() {
for kernel_command_line_parameter in "${kernel_command_line[@]}" ; do
test "unattended" = "$kernel_command_line_parameter" && return 0
done
return 1
}
function automatic_recovery() {
# The unattended recovery mode implies automatic recovery
# (see the implementation in skel/default/etc/scripts/run-automatic-rear)
# so that in unattended mode the automatic recovery code must not be run
# otherwise first the automatic recovery code and then the unattended recovery code
# get run automatically one after the other where the unattended recovery fails
# because for two subsequent 'rear recover' the second one fails:
unattended_recovery && return 1
for kernel_command_line_parameter in "${kernel_command_line[@]}" ; do
test "auto_recover" = "$kernel_command_line_parameter" && return 0
test "automatic" = "$kernel_command_line_parameter" && return 0
done
return 1
}
| 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 |
|