Browse Source

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 years ago
parent
commit
56485b231c

+ 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 *