PHP 8.2.30
Preview: module-setup.sh Size: 289 B
//proc/thread-self/root/proc/thread-self/root/proc/thread-self/root/lib/dracut/modules.d/45ifcfg/module-setup.sh

#!/bin/bash

# called by dracut
check() {
    [[ -d /etc/sysconfig/network-scripts ]] && return 0
    return 255
}

# called by dracut
depends() {
    echo "network"
    return 0
}

# called by dracut
install() {
    inst_binary sort
    inst_hook pre-pivot 85 "$moddir/write-ifcfg.sh"
}

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
289 B lrwxr-xr-x 2018-10-08 13:38:33
Edit Download
8.66 KB lrwxr-xr-x 2025-12-17 18:54:47
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).