60a7f4d653
* Switch Vendor: DellEMC * Switch SKU: s5248F * ASIC Vendor: Broadcom * Swich ASIC: Trident3 * Port Configuration: 48x25G,4x100G,2x200G * SONiC Image: sonic-broadcom.bin * Changes Include ipmitool implementation for platform_sensors script is inclued in pmon startup * Added 25G,10G configruation(25G is default) 1-48FP. 4x100G,2x200G (49-54 FP) * LED support for s5248f
41 lines
640 B
Bash
Executable File
41 lines
640 B
Bash
Executable File
#!/bin/bash
|
|
|
|
### BEGIN INIT INFO
|
|
# Provides: setup-board
|
|
# Required-Start:
|
|
# Required-Stop:
|
|
# Should-Start:
|
|
# Should-Stop:
|
|
# Default-Start: S
|
|
# Default-Stop: 0 6
|
|
# Short-Description: Setup S5248f board.
|
|
### END INIT INFO
|
|
|
|
case "$1" in
|
|
start)
|
|
echo -n "Setting up board... "
|
|
|
|
# /usr/local/bin/iom_power_on.sh
|
|
/usr/local/bin/s5248f_platform.sh init
|
|
|
|
echo "done."
|
|
;;
|
|
|
|
stop)
|
|
/usr/local/bin/s5248f_platform.sh deinit
|
|
echo "done."
|
|
|
|
;;
|
|
|
|
force-reload|restart)
|
|
echo "Not supported"
|
|
;;
|
|
|
|
*)
|
|
echo "Usage: /etc/init.d/platform-modules-s5248f.init {start|stop}"
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|