On 05/05/2014 03:12 AM, Baoquan He wrote:
User may specify static route for a target address which is different
than default gateway. The static route file could be like below:

192.168.200.222 via 192.168.100.222 dev eth0

Or

ADDRESS0=192.168.200.0
NETMASK0=255.255.255.0
GATEWAY0=192.168.100.222

In this patch, port the static route hanling from ifup-routes of initscript
component.

v1->v2:
     Remove the commentary line checking code and "MATCH" pattern
definition since dracut require posix syntax. Let's focus on the
functionality of static route.

Signed-off-by: Baoquan He <[email protected]>

I tested in my environment.  It works for me, and fixes the problem.

ACK

Marc

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

Reply via email to