Export 'resolvconf -v' variables for executeble subscribers.
authorRoy Marples <roy@marples.name>
Thu, 3 Dec 2009 14:49:54 +0000 (14:49 +0000)
committerRoy Marples <roy@marples.name>
Thu, 3 Dec 2009 14:49:54 +0000 (14:49 +0000)
resolvconf.in

index 77578615c4cefd2a471395a3ca6be71656227bf1..49cb10a736d1e0236ba5c42986cb419d1678b3af 100644 (file)
@@ -391,6 +391,7 @@ if [ "$cmd" = a ]; then
 fi
 
 eval "$(make_vars)"
+export RESOLVCONF DOMAINS SEARCH NAMESERVERS
 : ${list_resolv:=list_resolv -l}
 retval=0
 for script in "$LIBEXECDIR"/*; do
@@ -402,5 +403,5 @@ for script in "$LIBEXECDIR"/*; do
                fi
                retval=$(($retval + $?))
        fi
-    done
+done
 exit $retval