File: update-resolvconf

package info (click to toggle)
postfix 3.11.0-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 29,376 kB
  • sloc: ansic: 143,636; makefile: 19,474; sh: 7,190; perl: 2,855; python: 1,448; awk: 158
file content (3 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (6)
1
2
3
#! /bin/sh
# update postfix copy of resolv.conf (picked up automatically); only default instance is handled
[ lo != "$IFACE" ] && cp -pLu /etc/resolv.conf /var/spool/postfix/etc/resolv.conf 2>/dev/null || :