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/mkdebian/debian/asfvolt16.preinst b/mkdebian/debian/asfvolt16.preinst
index 9377c9a..047e7fe 100644
--- a/mkdebian/debian/asfvolt16.preinst
+++ b/mkdebian/debian/asfvolt16.preinst
@@ -4,9 +4,13 @@
 echo "kill running time application"
 [ -n "`pidof bcm_user_appl`" ] && killall bcm_user_appl
 [ -n "`pidof bcm.user`" ] && killall bcm.user
-[ -n "`pidof bal_core_dist`" ] && killall bal_core_dist 
 [ -n "`pidof voltha_bal_driver`" ] && killall voltha_bal_driver
+# service bal_core_dist stop
+# service openolt stop
+[ -n "`pidof bal_core_dist`" ] && killall bal_core_dist 
+rm -f /var/run/bal_core_dist.pid
 [ -n "`pidof openolt`" ] && killall openolt
+rm -f /var/run/openolt.pid
 
 # unload drivers
 echo "unload kernel drivers"