#!/bin/sh

if [ -x /sbin/resolvconf ]; then
	exec /sbin/resolvconf -a rdnssd </var/run/rdnssd/resolv.conf
else
	exec "`dirname "$0"`"/merge-hook
fi