1 2 3 4 5 6 7
#!/bin/sh if command -v resolvconf >/dev/null; then exec resolvconf -a rdnssd </var/run/rdnssd/resolv.conf else exec "$(dirname "$0")"/merge-hook fi