Revert "[gearbox] provide common gbsyncd.service.j2 to start for platform specific gbsyncd docker (#9286)"

This reverts commit 1d2a11bbb8.
This commit is contained in:
Guohan Lu
2021-11-19 10:10:55 -08:00
parent 9a72d04728
commit f3faf6111b
5 changed files with 7 additions and 7 deletions

View File

@@ -8,13 +8,16 @@ DEVPATH="/usr/share/sonic/device"
CONFIGFILE="${DEVPATH}/${PLATFORM}/gbsyncd.ini"
if [ ! -f "$CONFIGFILE" ]; then
if [ gbsyncd = "$SERVICE" ]; then
exit 0
fi
exit 1
fi
while IFS="=" read -r key value; do
case "$key" in
platform)
if [[ "$value" = "$SERVICE"* ]]; then
if [ "$value" = "$SERVICE" ]; then
exit 0
fi
;;