diskimage-builder/elements/dracut-network/install.d/11-patch-dracut

7 lines
293 B
Plaintext
Raw Normal View History

#!/bin/sh
# If the patch doesn't apply just do nothing. This patch fix a small
# issue in the script that writes the network configuration files from
# the cmdline to the disk on FC18.
patch /usr/lib/dracut/modules.d/45ifcfg/write-ifcfg.sh < $(dirname $0)/../dracut-write-ifcfg.patch || true