2019-11-30 13:42:28 -06:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
2021-02-02 18:19:43 -06:00
|
|
|
depmod -a
|
2019-11-30 13:42:28 -06:00
|
|
|
systemctl enable bfn-newport.service
|
|
|
|
systemctl start bfn-newport.service
|
2021-02-02 18:19:43 -06:00
|
|
|
|
|
|
|
PLATFORM_NAME=x86_64-accton_as9516bf_32d-r0
|
|
|
|
SONIC_PLATFORM_WHEEL_PY2="/usr/share/sonic/device/${PLATFORM_NAME}/sonic_platform-1.0-py2-none-any.whl"
|
|
|
|
if [ -e ${SONIC_PLATFORM_WHEEL_PY2} ]; then
|
|
|
|
python2 -m pip install ${SONIC_PLATFORM_WHEEL_PY2}
|
|
|
|
fi
|
|
|
|
SONIC_PLATFORM_WHEEL_PY3="/usr/share/sonic/device/${PLATFORM_NAME}/sonic_platform-1.0-py3-none-any.whl"
|
|
|
|
if [ -e ${SONIC_PLATFORM_WHEEL_PY3} ]; then
|
|
|
|
python3 -m pip install ${SONIC_PLATFORM_WHEEL_PY3}
|
|
|
|
fi
|
|
|
|
|
|
|
|
PLATFORM_NAME=x86_64-accton_as9516_32d-r0
|
|
|
|
SONIC_PLATFORM_WHEEL_PY2="/usr/share/sonic/device/${PLATFORM_NAME}/sonic_platform-1.0-py2-none-any.whl"
|
|
|
|
if [ -e ${SONIC_PLATFORM_WHEEL_PY2} ]; then
|
|
|
|
python2 -m pip install ${SONIC_PLATFORM_WHEEL_PY2}
|
|
|
|
fi
|
|
|
|
SONIC_PLATFORM_WHEEL_PY3="/usr/share/sonic/device/${PLATFORM_NAME}/sonic_platform-1.0-py3-none-any.whl"
|
|
|
|
if [ -e ${SONIC_PLATFORM_WHEEL_PY3} ]; then
|
|
|
|
python3 -m pip install ${SONIC_PLATFORM_WHEEL_PY3}
|
|
|
|
fi
|
|
|
|
|
2019-11-30 13:42:28 -06:00
|
|
|
#DEBHELPER#
|