diff options
author | Kozlov Dmitry <dima@server> | 2010-11-10 18:51:13 +0300 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-11-10 18:51:13 +0300 |
commit | 0bf5010f4252c414fb629fd21f0f2abdebb6eda7 (patch) | |
tree | 322e54edf4a8201c94ffbcaa8bd0bf55866d8c33 | |
parent | 058e7ff66b8fbb1f9494ae5077e5294db288fb1c (diff) | |
download | accel-ppp-xebd-0bf5010f4252c414fb629fd21f0f2abdebb6eda7.tar.gz accel-ppp-xebd-0bf5010f4252c414fb629fd21f0f2abdebb6eda7.zip |
updated build system: accel-pptp.conf will be installed as /etc/accel-pptp.conf.dist to prevent user config erasing
-rw-r--r-- | accel-pptpd/CMakeLists.txt | 4 | ||||
-rw-r--r-- | accel-pptpd/accel-pptp.conf | 5 | ||||
-rw-r--r-- | accel-pptpd/radius/CMakeLists.txt | 1 |
3 files changed, 7 insertions, 3 deletions
diff --git a/accel-pptpd/CMakeLists.txt b/accel-pptpd/CMakeLists.txt index 82b0460..00be4f1 100644 --- a/accel-pptpd/CMakeLists.txt +++ b/accel-pptpd/CMakeLists.txt @@ -71,9 +71,9 @@ INSTALL(TARGETS accel-pptpd RUNTIME DESTINATION usr/sbin ) -INSTALL(FILES accel-pptp.conf DESTINATION etc) +INSTALL(FILES accel-pptp.conf DESTINATION /etc RENAME accel-pptp.conf.dist) INSTALL(FILES accel-pptp.conf.5 DESTINATION usr/share/man/man5) INSTALL(CODE "EXECUTE_PROCESS(COMMAND mkdir -p /var/log/accel-pptp)") INSTALL(CODE "EXECUTE_PROCESS(COMMAND mkdir -p /var/run/accel-pptp)") -INSTALL(CODE "EXECUTE_PROCESS(COMMAND echo 0 > /var/run/accel-pptp/seq)") +INSTALL(CODE "EXECUTE_PROCESS(COMMAND 'echo 0 > /var/run/accel-pptp/seq')") diff --git a/accel-pptpd/accel-pptp.conf b/accel-pptpd/accel-pptp.conf index bddfa27..5b4d430 100644 --- a/accel-pptpd/accel-pptp.conf +++ b/accel-pptpd/accel-pptp.conf @@ -103,3 +103,8 @@ verbose=1 #down-burst-factor=0.1 #up-burst-factor=1.0 #latency=50 + +[cli] +bind=127.0.0.1 +port=2000 +#passwd=123 diff --git a/accel-pptpd/radius/CMakeLists.txt b/accel-pptpd/radius/CMakeLists.txt index 7360cdf..5ad7211 100644 --- a/accel-pptpd/radius/CMakeLists.txt +++ b/accel-pptpd/radius/CMakeLists.txt @@ -17,4 +17,3 @@ INSTALL(TARGETS radius ) FILE(GLOB dict "${CMAKE_CURRENT_SOURCE_DIR}/dict/*") INSTALL(FILES ${dict} DESTINATION usr/share/accel-pptp/radius) - |