Use cat instead of grep for listing our resolvconfs
authorRoy Marples <roy@marples.name>
Fri, 16 Nov 2007 10:55:48 +0000 (10:55 +0000)
committerRoy Marples <roy@marples.name>
Fri, 16 Nov 2007 10:55:48 +0000 (10:55 +0000)
resolvconf

index a0e046db68e1b493fe136c69e763affb4730d120..7980daaa6d1404a567b377a1d9a858f1d8b26245 100755 (executable)
@@ -67,7 +67,7 @@ usage() {
 echo_resolv() {
        [ -n "$1" -a -e "${IFACEDIR}/$1" ] || return 1
        echo "# resolv.conf for interface $1"
-       grep "." "${IFACEDIR}/$1"
+       cat "${IFACEDIR}/$1"
        echo
 }