Re: [PATCH cleanups] livenet: simplify writing net.ifaces

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

 



Am 25.09.2012 18:10, schrieb Will Woods:
> commit db2b12f removed the rd.neednet argument and uses /tmp/net.ifaces
> instead. This means we don't need to mess with CMDLINE.
> ---
>  modules.d/90livenet/parse-livenet.sh | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/modules.d/90livenet/parse-livenet.sh b/modules.d/90livenet/parse-livenet.sh
> index 365eca1..0e61870 100755
> --- a/modules.d/90livenet/parse-livenet.sh
> +++ b/modules.d/90livenet/parse-livenet.sh
> @@ -9,10 +9,7 @@
>  updates=$(getarg live.updates=)
>  if [ -n "$updates" ]; then
>      # make sure network comes up even if we're doing a local live device
> -    if [ -z "$netroot" ]; then
> -	echo > /tmp/net.ifaces
> -	unset CMDLINE
> -    fi
> +    [ -z "$netroot" ] && >> /tmp/net.ifaces
>      echo "$updates" > /tmp/liveupdates.info
>      echo '[ -e /tmp/liveupdates.done ]' > \
>          $hookdir/initqueue/finished/liveupdates.sh
> 

but commit 48dba7f9ace186871528eb4d83cd96e92e853c6c added it again :)
--
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