From 37c25f14c2d1b02a89bd7460690a827b6e6ae998 Mon Sep 17 00:00:00 2001 From: James Rayner Date: Wed, 13 Feb 2008 20:28:44 +1100 Subject: Fails if DNS2 not set. FS9525 --- src/ethernet.subr | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/ethernet.subr b/src/ethernet.subr index 3f960d5..081d49a 100644 --- a/src/ethernet.subr +++ b/src/ethernet.subr @@ -85,6 +85,7 @@ ethernet_up() { [[ -n "$DNS1" ]] && echo "nameserver $DNS1" >>/etc/resolv.conf [[ -n "$DNS2" ]] && echo "nameserver $DNS2" >>/etc/resolv.conf fi + return 0 } ethernet_down() { -- cgit v1.2.3-24-g4f1b