MOON
Server: Apache
System: Linux s5.yayogua.com.py 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
User: sanbercountryclu (1012)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //usr/lib/dracut/modules.d/40network/module-setup.sh
#!/usr/bin/bash

# called by dracut
check() {
    return 255
}

# called by dracut
depends() {
    for module in network-manager systemd-networkd connman network-legacy; do
        if dracut_module_included "$module"; then
            echo "$module"
            return 0
        fi
    done

    for module in network-manager systemd-networkd connman; do
        # install the first viable module, unless there omitted
        module_check $module > /dev/null 2>&1
        if [[ $? == 255 ]] && ! [[ " $omit_dracutmodules " == *\ $module\ * ]] && check_module "$module"; then
            echo "$module"
            return 0
        fi
    done

    echo "network-legacy"
    return 0
}