#!/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" }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
module-setup.sh | File | 289 B | 0755 |
|
write-ifcfg.sh | File | 8.66 KB | 0755 |
|