8325500560
Why I did it Added support for the device N3248TE How I did it Implemented the support for the platform N3248TE Switch Vendor: DellEMC Switch SKU: N3248TE ASIC Vendor: Broadcom SONiC Image: sonic-broadcom.bin How to verify it Verified the show platform commands
40 lines
605 B
Bash
Executable File
40 lines
605 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 S3000 board.
|
|
### END INIT INFO
|
|
|
|
case "$1" in
|
|
start)
|
|
echo -n "Setting up board... "
|
|
|
|
/usr/local/bin/n3248te_platform.sh init
|
|
|
|
echo "done."
|
|
;;
|
|
|
|
stop)
|
|
/usr/local/bin/n3248te_platform.sh deinit
|
|
echo "done."
|
|
|
|
;;
|
|
|
|
force-reload|restart)
|
|
echo "Not supported"
|
|
;;
|
|
|
|
*)
|
|
echo "Usage: /etc/init.d/platform-modules-n3248te.init {start|stop}"
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|