home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / init.d / pppd-dns < prev    next >
Encoding:
Text File  |  2007-04-04  |  375 b   |  15 lines

  1. #!/bin/sh -e
  2. ### BEGIN INIT INFO
  3. # Provides:          pppd-dns
  4. # Required-Start:    $local_fs
  5. # Default-Start:     S
  6. # Short-Description: Restore resolv.conf if the system crashed.
  7. ### END INIT INFO
  8. #
  9. # Restore /etc/resolv.conf if the system crashed before the ppp link
  10. # was shut down.
  11.  
  12. [ -x /etc/ppp/ip-down.d/0000usepeerdns ] \
  13.     && exec /etc/ppp/ip-down.d/0000usepeerdns
  14.  
  15.