Re: [patch dracut v2] fix teamd exec in case config does not include devname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 10.01.2013 15:02, schrieb Jiri Pirko:
> In case that configuration file did not include name of team device,
> teamd would not start. Fix this by adding "-t" parameter.
> 
> Signed-off-by: Jiri Pirko <jiri@xxxxxxxxxxx>
> ---
> 
> v2->v1:
> -fixed bad order of args
> 	
> modules.d/40network/ifup.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh
> index 216b1e3..6c3133e 100755
> --- a/modules.d/40network/ifup.sh
> +++ b/modules.d/40network/ifup.sh
> @@ -187,7 +187,7 @@ if [ -e /tmp/team.info ]; then
>              fi
>          done
>          # Do not add slaves now
> -        teamd -d -U -n -f /etc/teamd/$teammaster.conf
> +        teamd -d -U -n -t $teammaster -f /etc/teamd/$teammaster.conf
>          for slave in $working_slaves; do
>              # team requires the slaves to be down before joining team
>              ip link set $slave down
> 

merged
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux