sonic-buildimage/platform/broadcom/sonic-platform-modules-dell/debian/platform-modules-z9332f.init
srideepDell 4458efbd71 DellEMC: Add support for new platform z9332f -32x400G (#3845)
* Switch Vendor: DellEMC
* Switch SKU: z9332F
* ASIC Vendor: Broadcom
* Swich ASIC: tomahawk3
* Port Configuration: 32x400G
* SONiC Image: sonic-broadcom.bin

* Changes Include ipmitool implementation for platform_sensors script is inclued in pmon startup
2019-12-17 15:26:23 -08:00

40 lines
603 B
Bash

#!/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 Z9332f board.
### END INIT INFO
case "$1" in
start)
echo -n "Setting up board... "
/usr/local/bin/z9332f_platform.sh init
echo "done."
;;
stop)
/usr/local/bin/z9332f_platform.sh deinit
echo "done."
;;
force-reload|restart)
echo "Not supported"
;;
*)
echo "Usage: /etc/init.d/platform-modules-z9332f.init {start|stop}"
exit 1
;;
esac
exit 0