mirror of
https://github.com/Telecominfraproject/ols-nos.git
synced 2025-11-02 11:07:46 +00:00
Revert "[gearbox] provide common gbsyncd.service.j2 to start for platform specific gbsyncd docker (#9286)"
This reverts commit 1d2a11bbb8.
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user