void-packages/srcpkgs/ppp/files/ip-down.d.dns.sh

4 lines
109 B
Bash

#!/bin/sh
[ -e /etc/resolv.conf.backup.${IFNAME} ] && mv /etc/resolv.conf.backup.${IFNAME} /etc/resolv.conf