Shad Ansari | 6cd46a6 | 2018-05-13 23:20:51 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
Shad Ansari | cb004c5 | 2018-05-30 18:07:23 +0000 | [diff] [blame] | 3 | rm -rf /opt/bcm68620 |
| 4 | rm -rf /broadcom |
| 5 | tar zxf /tmp/release_asfvolt16_V02.06.201804301043.tar.gz -C / 2>&1 > /dev/null |
| 6 | grep -q '\/opt\/bcm68620\/svk_init.sh' /etc/rc.local || sed -i -e '$i \/opt\/bcm68620\/svk_init.sh' /etc/rc.local |
| 7 | rm -f /run/bcm68620 |
Shad Ansari | d0eaf75 | 2018-08-16 00:26:12 +0000 | [diff] [blame] | 8 | cp /tmp/init.d/bal_core_dist /etc/init.d |
| 9 | cp /tmp/init.d/openolt /etc/init.d |
| 10 | chmod +x /etc/init.d/bal_core_dist |
| 11 | chmod +x /etc/init.d/openolt |
| 12 | update-rc.d bal_core_dist defaults |
| 13 | update-rc.d openolt defaults |
Shad Ansari | 9fb007d | 2018-05-14 18:31:38 +0000 | [diff] [blame] | 14 | mv /tmp/openolt /broadcom |
Shad Ansari | 9fb007d | 2018-05-14 18:31:38 +0000 | [diff] [blame] | 15 | mv /tmp/libgrpc++.so.1 /usr/local/lib |
| 16 | mv /tmp/libgrpc.so.6 /usr/local/lib |
Shad Ansari | f1e0bc8 | 2018-05-21 17:51:45 +0000 | [diff] [blame] | 17 | mv /broadcom/libbal_api_dist.so /usr/local/lib |
Shad Ansari | cb004c5 | 2018-05-30 18:07:23 +0000 | [diff] [blame] | 18 | /opt/bcm68620/svk_init.sh |
Shad Ansari | d0eaf75 | 2018-08-16 00:26:12 +0000 | [diff] [blame] | 19 | #service bal_core_dist start |
| 20 | #service openolt start |