This commit is contained in:
Ray Ozzie 2016-03-21 15:04:58 -07:00
parent b3f97f25f7
commit 23d1839211
2 changed files with 11 additions and 5 deletions

View File

@ -81,12 +81,12 @@ if [ -f ./bin/poly_pkt_fwd ]; then rm ./bin/poly_pkt_fwd; fi
ln -s $INSTALL_DIR/packet_forwarder/poly_pkt_fwd/poly_pkt_fwd ./bin/poly_pkt_fwd
cp -f ./packet_forwarder/poly_pkt_fwd/global_conf.json ./bin/global_conf.json
# Startup shell script
cp ./start.sh ./bin/start.sh
# Restore location
# Restore location back to where we started the install
popd
# Copy startup shell script to the install directory
cp ./start.sh $INSTALL_DIR/bin/start.sh
echo "Installation completed."

View File

@ -81,6 +81,12 @@ if [ -f ./bin/poly_pkt_fwd ]; then rm ./bin/poly_pkt_fwd; fi
ln -s $INSTALL_DIR/packet_forwarder/poly_pkt_fwd/poly_pkt_fwd ./bin/poly_pkt_fwd
cp -f ./packet_forwarder/poly_pkt_fwd/global_conf.json ./bin/global_conf.json
# Startup shell script
cp ./start.sh ./bin/start.sh
# Restore location
popd
echo "Installation completed."