pptpd.config 409 B

12345678910111213141516171819202122
  1. #!/bin/sh -e
  2. # Rene Mayrhofer <rmayr@vianova.at>, Oct. 1999
  3. # I hereby put this script under the Artistic License.
  4. . /usr/share/debconf/confmodule.sh
  5. db_input high pptpd/localip
  6. db_input high pptpd/remoteip
  7. # ask if mppe encryption should be used
  8. db_input pptpd/mppe
  9. db_go
  10. # check the answer(s)
  11. db_get pptpd/mppe
  12. if [ "$RET" = "false" ]; then
  13. # display a warning
  14. db_input high pptpd/no-mppe
  15. db_go
  16. fi