소스 검색

minor fixes

* DIU packager copies directory over instead of symlink
* added some comments to the connection tether to help
  describe what it's doing and help differentiate them
  from each other
Abram Connelly 6 년 전
부모
커밋
56485b231c
3개의 변경된 파일19개의 추가작업 그리고 1개의 파일을 삭제
  1. 9 0
      busunit/scripts/connection_tether-ppp.sh
  2. 9 0
      busunit/scripts/connection_tether-ssh.sh
  3. 1 1
      server/diu_packager/create_popufare_package.sh

+ 9 - 0
busunit/scripts/connection_tether-ppp.sh

@@ -18,6 +18,15 @@
 # along with PopuFare.  If not, see <https://www.gnu.org/licenses/>.
 #
 
+#
+# This script establishes and maintains the SSH tunnel connection to the central
+# server. The SSH tunnel is the transport method all communication the local
+# services use to communicate to the central server's complementary services.
+#
+# This script is the PPP VERSION, meant for production.
+#
+
+
 export BASEDIR='/home/bus/'
 
 echo "## connection_tether-ppp $BASEDIR"

+ 9 - 0
busunit/scripts/connection_tether-ssh.sh

@@ -18,6 +18,15 @@
 # along with PopuFare.  If not, see <https://www.gnu.org/licenses/>.
 #
 
+#
+# This script establishes and maintains the SSH tunnel connection to the central
+# server. The SSH tunnel is the transport method all communication the local
+# services use to communicate to the central server's complementary services.
+#
+# This script is the WIRED VERSION, meant for testing and debugging.
+# For the production version, see the PPP version.
+#
+
 export BASEDIR="/home/bus"
 
 . $BASEDIR/bin/common_values.sh

+ 1 - 1
server/diu_packager/create_popufare_package.sh

@@ -45,7 +45,7 @@ pushd stage/$pkgdir > /dev/null
   # copy over site specific files that overwrite default
   # files.
   #
-  cp -R ../../site .
+  cp -L -R ../../site .
 
   tar -czf ../$pkgfile *