asdf
This commit is contained in:
parent
b3f97f25f7
commit
23d1839211
10
install.sh
10
install.sh
@ -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
|
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
|
cp -f ./packet_forwarder/poly_pkt_fwd/global_conf.json ./bin/global_conf.json
|
||||||
|
|
||||||
# Startup shell script
|
# Restore location back to where we started the install
|
||||||
|
|
||||||
cp ./start.sh ./bin/start.sh
|
|
||||||
|
|
||||||
# Restore location
|
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
# Copy startup shell script to the install directory
|
||||||
|
|
||||||
|
cp ./start.sh $INSTALL_DIR/bin/start.sh
|
||||||
|
|
||||||
echo "Installation completed."
|
echo "Installation completed."
|
||||||
|
@ -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
|
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
|
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
|
popd
|
||||||
|
|
||||||
echo "Installation completed."
|
echo "Installation completed."
|
||||||
|
Loading…
Reference in New Issue
Block a user