VOL-758 OpenOLT - Create Linux services for BAL and openolt
service bal_core_dist status|stop|start
service openolt status|stop|start
bal_core_dist and openolt started as init.d services at system startup.
Change-Id: If8a97e74b999b68f202a8a3c05331766b84a4641
diff --git a/Makefile b/Makefile
index ea3f452..a32dfbd 100644
--- a/Makefile
+++ b/Makefile
@@ -233,6 +233,7 @@
cp $(BUILD_DIR)/openolt mkdebian/debian
cp $(BUILD_DIR)/libgrpc.so.6 mkdebian/debian
cp $(BUILD_DIR)/libgrpc++.so.1 mkdebian/debian
+ cp -a scripts/init.d mkdebian/debian
cd mkdebian && ./build_$(DEVICE)_deb.sh
mv *.deb $(BUILD_DIR)/openolt.deb
make deb-cleanup