freecwmp
[Top] [All Lists]

Re: [PATCH] simplify function configuration

To: freecwmp@linux-mips.org
Subject: Re: [PATCH] simplify function configuration
From: Luka Perkov <freecwmp@lukaperkov.net>
Date: Mon, 10 Dec 2012 07:51:56 +0100
Cc: jogo@openwrt.org
In-reply-to: <20121210005610-21211@mutt-kz>
Mail-followup-to: freecwmp@linux-mips.org, jogo@openwrt.org
Original-recipient: rfc822;freecwmp@linux-mips.org
References: <20121210005610-21211@mutt-kz>
Sender: freecwmp-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Dec 10, 2012 at 01:56:10AM +0100, Luka Perkov wrote:
> simplify function configuration
> 
> Support for get_ and set_ function prototypes only (for now).
> 
> Signed-off-by: Luka Perkov <freecwmp@lukaperkov.net>
> ---
> --- a/ext/openwrt/scripts/functions/device_hosts
> +++ b/ext/openwrt/scripts/functions/device_hosts
> @@ -189,3 +189,5 @@ fi
>  # TODO: Device.Hosts.Host.{i}.IPv6Address.{i}.IPAddress (no IPv6 support yet)
>  
>  }
> +
> +set_device_hosts() { echo -n > /dev/null; }

I was tired last night... return; will do a job just fine:

set_device_hosts() { return; }

Luka

<Prev in Thread] Current Thread [Next in Thread>