[PATCH 1/3 master/newui] Write default ifcfg files in dracut not in anaconda.

Chris Lumens clumens at redhat.com
Wed Jul 11 14:14:46 UTC 2012


>  dracut/anaconda-write-default-ifcfg.sh |   20 ++++++++++++++++++++
>  dracut/module-setup.sh                 |    1 +
>  pyanaconda/network.py                  |   27 +++------------------------
>  3 files changed, 24 insertions(+), 24 deletions(-)
>  create mode 100755 dracut/anaconda-write-default-ifcfg.sh

Make sure to also add your new file to dracut/Makefile.am or it won't
get included.

> diff --git a/dracut/anaconda-write-default-ifcfg.sh b/dracut/anaconda-write-default-ifcfg.sh
> new file mode 100755
> index 0000000..e51de25
> --- /dev/null
> +++ b/dracut/anaconda-write-default-ifcfg.sh
> @@ -0,0 +1,20 @@
> +#!/bin/sh
> +# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
> +# ex: ts=8 sw=4 sts=4 et filetype=sh

I think all files should have the typical copyright statement on them.
At least, I make sure that's the case with all my stuff and the dracut
stuff really should have followed suit.

- Chris


More information about the anaconda-patches mailing list