summaryrefslogtreecommitdiff
path: root/deploy/pptpd/pptpd_install/pptpd.install.sh
diff options
context:
space:
mode:
authorlijia <[email protected]>2018-10-24 09:36:45 +0800
committerlijia <[email protected]>2018-10-24 09:36:45 +0800
commit86a43b4d325ddc850fa9dc4711670880f35b11e8 (patch)
tree8356a056ac9bfb8cf14fcf57f113dd306b4277d1 /deploy/pptpd/pptpd_install/pptpd.install.sh
create new project.
Diffstat (limited to 'deploy/pptpd/pptpd_install/pptpd.install.sh')
-rw-r--r--deploy/pptpd/pptpd_install/pptpd.install.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/deploy/pptpd/pptpd_install/pptpd.install.sh b/deploy/pptpd/pptpd_install/pptpd.install.sh
new file mode 100644
index 0000000..365939c
--- /dev/null
+++ b/deploy/pptpd/pptpd_install/pptpd.install.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+rpm -ivh ./pptpd-1.4.0-2.el7.x86_64.rpm
+
+cp pptpd.conf /etc
+cp options.pptpd /etc/ppp/
+cp chap-secrets /etc/ppp/
+cp auth-down /etc/ppp
+cp auth-up /etc/ppp
+
+service pptpd restart
+
+
+
+
+
+