gentoo-overlay/net-misc/ndisc6/files/resolvconf

7 lines
148 B
Bash

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