You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
256 B
Plaintext

7 years ago
#!/bin/sh
#
7 years ago
# ifdown hook script for resolvconf
#
# This file is part of the resolvconf package.
#
7 years ago
[ -x /sbin/resolvconf ] || exit 0
7 years ago
case "$ADDRFAM" in
inet|inet6) : ;;
*) exit 0 ;;
7 years ago
esac
/sbin/resolvconf -d "${IFACE}.${ADDRFAM}" || :