#!/bin/bash # This example script parses /etc/resolv.conf to retrive DNS information. # In the interest of keeping the KVP daemon code free of distro specific # information; the kvp daemon code invokes this external script to gather # DNS information. # This script is expected to print the nameserver values to stdout. # Each Distro is expected to implement this script in a distro specific # fashion. For instance on Distros that ship with Network Manager enabled, # this script can be based on the Network Manager APIs for retrieving DNS # entries. cat /etc/resolv.conf 2>/dev/null | awk '/^nameserver/ { print $2 }' id='header'> cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2016-07-25 11:48:51 +0100
committerMark Brown <broonie@kernel.org>2016-07-25 11:48:51 +0100
commitdec34e8b676e14d4df041e3335d6082b247b834e (patch)
tree2ac38caac93b8f4da4d64e49762601b4ef474950 /include
parent56432b7324d0137ef40dd833b70b5569e7dc661d (diff)
parentef4d96ec4ad947360f48677b6007a4c77953b090 (diff)
Merge remote-tracking branch 'spi/fix/locking' into spi-next
Diffstat (limited to 'include')