services: networking: Set interfaces up; delete default route only when needed.
authorLudovic Courtès <ludo@gnu.org>
Sat, 12 Jul 2014 20:56:40 +0000 (22:56 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 12 Jul 2014 21:17:54 +0000 (23:17 +0200)
commit8897603ad02042f916911c406eb47f0b36d1f831
tree8ba6b8f205eb09971576a453fdbff344ccf50c36
parent89a0d00a38b48699c1edd9a13050a92ad6737286
services: networking: Set interfaces up; delete default route only when needed.

* gnu/services/networking.scm (static-networking-service): Use -i, -A,
  and --up with Inetutils' ifconfig.  Do 'route del -net default' only
  when GATEWAY is true.
gnu/services/networking.scm