sonic-buildimage/platform/broadcom/sonic-platform-modules-dell/debian/platform-modules-e3224f.init
Arun LK 97113bae61
Dell: E3224F platform onboarding (#16002)
* Dell: E3224F platform onboarding

* Dell: E3224F platform onboarding
2023-08-10 17:27:30 -07:00

40 lines
602 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/e3224f_platform.sh init
echo "done."
;;
stop)
/usr/local/bin/e3224f_platform.sh deinit
echo "done."
;;
force-reload|restart)
echo "Not supported"
;;
*)
echo "Usage: /etc/init.d/platform-modules-e3224f.init {start|stop}"
exit 1
;;
esac
exit 0