Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / etc / network / if-down.d / | server ip : 104.21.89.46 your ip : 172.69.214.216 H O M E |
Filename | /etc/network/if-down.d/resolvconf |
Size | 419 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:50 |
Last modified | 14-Dec-2012 02:27 |
Last accessed | 06-Jul-2025 18:33 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh
#
# ifdown hook script for resolvconf
#
# This file is part of the resolvconf package.
#
[ -x /sbin/resolvconf ] || exit 0
case "$ADDRFAM" in
inet|inet6) : ;;
*) exit 0 ;;
esac
case "$METHOD" in
dhcp)
# Delete record left behind by TERMinated udhcpc
# This works around bug #605215
/sbin/resolvconf -d "${IFACE}.udhcpc" || :
;;
esac
/sbin/resolvconf -d "${IFACE}.${ADDRFAM}" || :
#
# ifdown hook script for resolvconf
#
# This file is part of the resolvconf package.
#
[ -x /sbin/resolvconf ] || exit 0
case "$ADDRFAM" in
inet|inet6) : ;;
*) exit 0 ;;
esac
case "$METHOD" in
dhcp)
# Delete record left behind by TERMinated udhcpc
# This works around bug #605215
/sbin/resolvconf -d "${IFACE}.udhcpc" || :
;;
esac
/sbin/resolvconf -d "${IFACE}.${ADDRFAM}" || :