ansible-ffibk/roles/server-basic/files/resolvconf.if-down

9 lines
238 B
Text
Raw Permalink Normal View History

#!/bin/sh
# ifdown hook script for resolvconf
# Written by Roy Marples <roy@marples.name> under the BSD-2 license
[ -x /sbin/resolvconf ] || exit 0
[ "$METHOD" = dhcp ] && /sbin/resolvconf -f -d "$IFACE"
/sbin/resolvconf -f -d "$IFACE"