~t7-vla7-lz/psiphon/psiphon

« back to all changes in this revision

Viewing changes to trunk/tools/psiphon_install.sh

  • Committer: Eugene Fryntov
  • Date: 2015-09-16 19:27:26 UTC
  • Revision ID: e.fryntov@psiphon.ca-20150916192726-xvcrh4uk1h14rwd5
Psiphon 2 real time stats in progress

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
 
 
 
2
logger_command="/dev/null"
3
3
_LIB_DIR="/lib/x86_64-linux-gnu"
4
4
 
5
5
# verify parameters ############################################################
256
256
 
257
257
cat mod_psiphon/httpd_conf/httpd.conf | \
258
258
sed "s%#ServerRoot#%ServerRoot \"${dest}/apache2\"%" | \
259
 
sed "s/#psiphon_mysql_password#/${mysql_pass}/" \
 
259
sed "s/#psiphon_mysql_password#/${mysql_pass}/" | \
 
260
sed "s/#logger_command#/${logger_command}/"  \
260
261
> ${dest}/apache2/conf/httpd.conf
261
262
 
262
263