Remove extra trailing newlines at EOF (#804)

Files now end with a single newline
This commit is contained in:
Joe LeVeque 2017-07-12 20:54:37 -07:00 committed by Shuotian Cheng
parent 2090cd341f
commit f49cac086f
114 changed files with 0 additions and 116 deletions

View File

@ -30,4 +30,3 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
def __init__(self, name, path, cpld_root, ro): def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/sys/bus/i2c/devices/1-0057/eeprom" self.eeprom_path = "/sys/bus/i2c/devices/1-0057/eeprom"
super(board, self).__init__(self.eeprom_path, 0, '', True) super(board, self).__init__(self.eeprom_path, 0, '', True)

View File

@ -1,2 +1 @@
SAI_INIT_CONFIG_FILE=/etc/bcm/th-as7712-32x100G.config.bcm SAI_INIT_CONFIG_FILE=/etc/bcm/th-as7712-32x100G.config.bcm

View File

@ -1,2 +1 @@
SAI_INIT_CONFIG_FILE=/etc/bcm/th-as7716-32x100G.config.bcm SAI_INIT_CONFIG_FILE=/etc/bcm/th-as7716-32x100G.config.bcm

View File

@ -86,4 +86,3 @@ class LedControl(LedControlBase):
led_sysfs_path = self.LED_SYSFS_PATH_NO_BREAKOUT.format(qsfp_index) led_sysfs_path = self.LED_SYSFS_PATH_NO_BREAKOUT.format(qsfp_index)
with open(led_sysfs_path, 'w') as led_file: with open(led_sysfs_path, 'w') as led_file:
led_file.write("%d" % self.LED_COLOR_OFF) led_file.write("%d" % self.LED_COLOR_OFF)

View File

@ -81,4 +81,3 @@ class LedControl(LedControlBase):
led_sysfs_path = self.LED_SYSFS_PATH_NO_BREAKOUT.format(qsfp_index + self.LED_QSFP_OFFSET) led_sysfs_path = self.LED_SYSFS_PATH_NO_BREAKOUT.format(qsfp_index + self.LED_QSFP_OFFSET)
with open(led_sysfs_path, 'w') as led_file: with open(led_sysfs_path, 'w') as led_file:
led_file.write("%d" % self.LED_COLOR_OFF) led_file.write("%d" % self.LED_COLOR_OFF)

View File

@ -46,4 +46,3 @@ chip "pmbus-i2c-5-58"
label temp1 "Power supply 2 hotspot sensor" label temp1 "Power supply 2 hotspot sensor"
label temp2 "Power supply 2 inlet temp sensor" label temp2 "Power supply 2 inlet temp sensor"
label temp3 "Power supply 2 sensor" label temp3 "Power supply 2 sensor"

View File

@ -44,4 +44,3 @@ chip "pmbus-i2c-5-58"
label temp1 "Power supply 2 hotspot sensor" label temp1 "Power supply 2 hotspot sensor"
label temp2 "Power supply 2 inlet temp sensor" label temp2 "Power supply 2 inlet temp sensor"
label temp3 "Power supply 2 sensor" label temp3 "Power supply 2 sensor"

View File

@ -20,4 +20,3 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
def __init__(self, name, path, cpld_root, ro): def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/sys/class/i2c-adapter/i2c-2/2-0050/eeprom" self.eeprom_path = "/sys/class/i2c-adapter/i2c-2/2-0050/eeprom"
super(board, self).__init__(self.eeprom_path, 0, '', True) super(board, self).__init__(self.eeprom_path, 0, '', True)

View File

@ -9,4 +9,3 @@ MINTEMP=hwmon2/device/pwm2=20 hwmon2/device/pwm1=20
MAXTEMP=hwmon2/device/pwm2=60 hwmon2/device/pwm1=60 MAXTEMP=hwmon2/device/pwm2=60 hwmon2/device/pwm1=60
MINSTART=hwmon2/device/pwm2=75 hwmon2/device/pwm1=75 MINSTART=hwmon2/device/pwm2=75 hwmon2/device/pwm1=75
MINSTOP=hwmon2/device/pwm2=22 hwmon2/device/pwm1=22 MINSTOP=hwmon2/device/pwm2=22 hwmon2/device/pwm1=22

View File

@ -20,4 +20,3 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
def __init__(self, name, path, cpld_root, ro): def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/sys/class/i2c-adapter/i2c-17/17-0054/eeprom" self.eeprom_path = "/sys/class/i2c-adapter/i2c-17/17-0054/eeprom"
super(board, self).__init__(self.eeprom_path, 0, '', True) super(board, self).__init__(self.eeprom_path, 0, '', True)

View File

@ -8,4 +8,3 @@ MINTEMP=hwmon2/device/pwm1=20 hwmon2/device/pwm2=20
MAXTEMP=hwmon2/device/pwm1=60 hwmon2/device/pwm2=60 MAXTEMP=hwmon2/device/pwm1=60 hwmon2/device/pwm2=60
MINSTART=hwmon2/device/pwm1=150 hwmon2/device/pwm2=150 MINSTART=hwmon2/device/pwm1=150 hwmon2/device/pwm2=150
MINSTOP=hwmon2/device/pwm1=0 hwmon2/device/pwm2=0 MINSTOP=hwmon2/device/pwm1=0 hwmon2/device/pwm2=0

View File

@ -20,4 +20,3 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
def __init__(self, name, path, cpld_root, ro): def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/sys/class/i2c-adapter/i2c-7/7-0054/eeprom" self.eeprom_path = "/sys/class/i2c-adapter/i2c-7/7-0054/eeprom"
super(board, self).__init__(self.eeprom_path, 0, '', True) super(board, self).__init__(self.eeprom_path, 0, '', True)

View File

@ -53,4 +53,3 @@ chip "tmp75-i2c-*-49"
label temp1 "FAN Temp2" label temp1 "FAN Temp2"
set temp1_max 50 set temp1_max 50
set temp1_crit 70 set temp1_crit 70

View File

@ -9,4 +9,3 @@ MINTEMP=hwmon2/device/pwm2=20 hwmon2/device/pwm1=20
MAXTEMP=hwmon2/device/pwm2=60 hwmon2/device/pwm1=60 MAXTEMP=hwmon2/device/pwm2=60 hwmon2/device/pwm1=60
MINSTART=hwmon2/device/pwm2=75 hwmon2/device/pwm1=75 MINSTART=hwmon2/device/pwm2=75 hwmon2/device/pwm1=75
MINSTOP=hwmon2/device/pwm2=22 hwmon2/device/pwm1=22 MINSTOP=hwmon2/device/pwm2=22 hwmon2/device/pwm1=22

View File

@ -30,4 +30,3 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
def __init__(self, name, path, cpld_root, ro): def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/bsp/eeprom/sys_eeprom" self.eeprom_path = "/bsp/eeprom/sys_eeprom"
super(board, self).__init__(self.eeprom_path, 0, '', True) super(board, self).__init__(self.eeprom_path, 0, '', True)

View File

@ -30,4 +30,3 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
def __init__(self, name, path, cpld_root, ro): def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/bsp/eeprom/sys_eeprom" self.eeprom_path = "/bsp/eeprom/sys_eeprom"
super(board, self).__init__(self.eeprom_path, 0, '', True) super(board, self).__init__(self.eeprom_path, 0, '', True)

View File

@ -30,4 +30,3 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
def __init__(self, name, path, cpld_root, ro): def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/bsp/eeprom/sys_eeprom" self.eeprom_path = "/bsp/eeprom/sys_eeprom"
super(board, self).__init__(self.eeprom_path, 0, '', True) super(board, self).__init__(self.eeprom_path, 0, '', True)

View File

@ -30,4 +30,3 @@ class board(eeprom_tlvinfo.TlvInfoDecoder):
def __init__(self, name, path, cpld_root, ro): def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/bsp/eeprom/sys_eeprom" self.eeprom_path = "/bsp/eeprom/sys_eeprom"
super(board, self).__init__(self.eeprom_path, 0, '', True) super(board, self).__init__(self.eeprom_path, 0, '', True)

View File

@ -75,4 +75,3 @@ RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
RUN rm -rf /var/lib/apt/lists/* RUN rm -rf /var/lib/apt/lists/*
RUN rm -rf /tmp/* RUN rm -rf /tmp/*

View File

@ -11,4 +11,3 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.

View File

@ -65,4 +65,3 @@ $IncludeConfig /etc/rsyslog.d/*.conf
############### ###############
#### RULES #### #### RULES ####
############### ###############

View File

@ -20,4 +20,3 @@ COPY ["start.sh", "/usr/bin/"]
COPY ["supervisord.conf", "/etc/supervisor/conf.d/"] COPY ["supervisord.conf", "/etc/supervisor/conf.d/"]
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -3,4 +3,3 @@
rm -f /var/run/rsyslogd.pid rm -f /var/run/rsyslogd.pid
supervisorctl start rsyslogd supervisorctl start rsyslogd

View File

@ -18,4 +18,3 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -35,4 +35,3 @@ RUN sed -ri 's/^(save .*$)/# \1/g;
COPY ["supervisord.conf", "/etc/supervisor/conf.d/"] COPY ["supervisord.conf", "/etc/supervisor/conf.d/"]
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -1,4 +1,3 @@
#!/bin/bash #!/bin/bash
docker exec -it database redis-cli "$@" docker exec -it database redis-cli "$@"

View File

@ -10,4 +10,3 @@ autostart=true
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -27,4 +27,3 @@ COPY ["supervisord.conf", "/etc/supervisor/conf.d/"]
COPY ["isc-dhcp-relay.j2", "/usr/share/sonic/templates/"] COPY ["isc-dhcp-relay.j2", "/usr/share/sonic/templates/"]
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -26,4 +26,3 @@ INTERFACES="
# '-a' option provides option 82 circuit_id and remote_id information # '-a' option provides option 82 circuit_id and remote_id information
OPTIONS="-a %h:%p %P" OPTIONS="-a %h:%p %P"

View File

@ -16,4 +16,3 @@ if test "$INTERFACES" != ""; then
fi fi
exec /usr/sbin/dhcrelay -d -q ${OPTIONS} ${IFCMD} ${SERVERS} exec /usr/sbin/dhcrelay -d -q ${OPTIONS} ${IFCMD} ${SERVERS}

View File

@ -40,4 +40,3 @@ done
# Start the DHCP relay # Start the DHCP relay
supervisorctl start isc-dhcp-relay supervisorctl start isc-dhcp-relay

View File

@ -26,4 +26,3 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -14,4 +14,3 @@ chmod 0755 /usr/sbin/bgp-unisolate
mkdir -p /var/sonic mkdir -p /var/sonic
echo "# Config files managed by sonic-config-engine" >/var/sonic/config_status echo "# Config files managed by sonic-config-engine" >/var/sonic/config_status

View File

@ -26,4 +26,3 @@ COPY ["*.j2", "/usr/share/sonic/templates/"]
COPY ["daemons", "/etc/quagga/"] COPY ["daemons", "/etc/quagga/"]
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -23,4 +23,3 @@ supervisorctl start rsyslogd
service quagga start service quagga start
supervisorctl start fpmsyncd supervisorctl start fpmsyncd

View File

@ -34,4 +34,3 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -28,4 +28,3 @@ COPY ["*.j2", "/usr/share/sonic/templates/"]
COPY ["daemons", "/etc/quagga/"] COPY ["daemons", "/etc/quagga/"]
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -27,4 +27,3 @@ supervisorctl start rsyslogd
service quagga start service quagga start
supervisorctl start fpmsyncd supervisorctl start fpmsyncd

View File

@ -26,4 +26,3 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -35,4 +35,3 @@ COPY ["lldpd.conf.j2", "/usr/share/sonic/templates/"]
COPY ["lldpd", "/etc/default/"] COPY ["lldpd", "/etc/default/"]
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -11,4 +11,3 @@ supervisorctl start rsyslogd
supervisorctl start lldpd supervisorctl start lldpd
supervisorctl start lldpd-conf-reload supervisorctl start lldpd-conf-reload
supervisorctl start lldp-syncd supervisorctl start lldp-syncd

View File

@ -47,4 +47,3 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -32,4 +32,3 @@ COPY ["ipinip.json.j2", "/usr/share/sonic/templates/"]
COPY ["mirror.json.j2", "/usr/share/sonic/templates/"] COPY ["mirror.json.j2", "/usr/share/sonic/templates/"]
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -19,4 +19,3 @@ elif [ "$ASIC" == "cavium" ]; then
fi fi
exec /usr/bin/orchagent ${ORCHAGENT_ARGS} exec /usr/bin/orchagent ${ORCHAGENT_ARGS}

View File

@ -58,4 +58,3 @@ for file in $SWSSCONFIG_ARGS; do
done done
config_acl config_acl

View File

@ -59,4 +59,3 @@ COPY ["start.sh", "lm-sensors.sh", "/usr/bin/"]
COPY ["supervisord.conf", "/etc/supervisor/conf.d/"] COPY ["supervisord.conf", "/etc/supervisor/conf.d/"]
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -9,4 +9,3 @@
# Currently, there is no way to run sensord in the foreground, so we # Currently, there is no way to run sensord in the foreground, so we
# can't use supervisord. Instead, we just start the service for now. # can't use supervisord. Instead, we just start the service for now.
service sensord start service sensord start

View File

@ -23,4 +23,3 @@ if [ -e /usr/share/sonic/platform/fancontrol ]; then
fi fi
supervisorctl start ledd supervisorctl start ledd

View File

@ -41,4 +41,3 @@ priority=5
autostart=false autostart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -25,4 +25,3 @@ COPY ["profile.ini", "portmap.ini", "/etc/sai/"]
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y; rm -rf /deps RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y; rm -rf /deps
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -15,4 +15,3 @@ supervisorctl start rsyslogd
start_bcm start_bcm
supervisorctl start saiserver supervisorctl start saiserver

View File

@ -26,4 +26,3 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -28,4 +28,3 @@ RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
RUN rm -rf deps RUN rm -rf deps
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -5,4 +5,3 @@ rm -f /var/run/rsyslogd.pid
supervisorctl start rsyslogd supervisorctl start rsyslogd
supervisorctl start saiserver supervisorctl start saiserver

View File

@ -26,4 +26,3 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -36,4 +36,3 @@ RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
RUN rm -rf /deps RUN rm -rf /deps
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -13,4 +13,3 @@ supervisorctl start rsyslogd
start_mlnx start_mlnx
supervisorctl start saiserver supervisorctl start saiserver

View File

@ -26,4 +26,3 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -47,4 +47,3 @@ COPY ["*.j2", "/usr/share/sonic/templates/"]
EXPOSE 161/udp 162/udp EXPOSE 161/udp 162/udp
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -15,4 +15,3 @@ rm -f /var/run/rsyslogd.pid
supervisorctl start rsyslogd supervisorctl start rsyslogd
supervisorctl start snmpd supervisorctl start snmpd
supervisorctl start snmp-subagent supervisorctl start snmp-subagent

View File

@ -34,4 +34,3 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -30,4 +30,3 @@ RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
RUN rm -rf /debs RUN rm -rf /debs
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -1,4 +1,3 @@
#!/bin/bash #!/bin/bash
docker exec -i teamd teamdctl "$@" docker exec -i teamd teamdctl "$@"

View File

@ -27,4 +27,3 @@ rm -f /var/run/rsyslogd.pid
supervisorctl start rsyslogd supervisorctl start rsyslogd
supervisorctl start teamd supervisorctl start teamd

View File

@ -26,4 +26,3 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -36,4 +36,3 @@ while true; do
fi fi
sleep 1 sleep 1
done done

View File

@ -38,4 +38,3 @@ case "$1" in
exit 1 exit 1
;; ;;
esac esac

View File

@ -221,4 +221,3 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get autor
sudo cp {{src}} $FILESYSTEM_ROOT/{{dst}} sudo cp {{src}} $FILESYSTEM_ROOT/{{dst}}
{% endif -%} {% endif -%}
{% endfor -%} {% endfor -%}

View File

@ -22,4 +22,3 @@ request subnet-mask, broadcast-address, time-offset, routers,
dhcp6.name-servers, dhcp6.domain-search, interface-mtu, dhcp6.name-servers, dhcp6.domain-search, interface-mtu,
rfc3442-classless-static-routes, ntp-servers, rfc3442-classless-static-routes, ntp-servers,
snmp-community, minigraph-url, acl-url; snmp-community, minigraph-url, acl-url;

View File

@ -10,4 +10,3 @@ case $reason in
fi fi
;; ;;
esac esac

View File

@ -53,5 +53,3 @@ if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found/command-no
fi fi
} }
fi fi

View File

@ -1,3 +1,2 @@
# Attempt to rotate system logs once per minute # Attempt to rotate system logs once per minute
* * * * * root /usr/sbin/logrotate /etc/logrotate.d/rsyslog * * * * * root /usr/sbin/logrotate /etc/logrotate.d/rsyslog

View File

@ -8,4 +8,3 @@ iface lo inet loopback
# The management network interface # The management network interface
auto eth0 auto eth0
iface eth0 inet dhcp iface eth0 inet dhcp

View File

@ -8,4 +8,3 @@ ExecStart=/usr/bin/interfaces-config.sh
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -60,4 +60,3 @@
kill -HUP $(cat /var/run/rsyslogd.pid) kill -HUP $(cat /var/run/rsyslogd.pid)
endscript endscript
} }

View File

@ -8,4 +8,3 @@ ExecStart=/usr/bin/ntp-config.sh
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -8,4 +8,3 @@ ExecStart=/usr/bin/rsyslog-config.sh
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -68,4 +68,3 @@ $IncludeConfig /etc/rsyslog.d/*.conf
############### ###############
#### RULES #### #### RULES ####
############### ###############

View File

@ -19,4 +19,3 @@ if $programname contains "teamd_" then {
/var/log/teamd.log /var/log/teamd.log
stop stop
} }

View File

@ -68,4 +68,3 @@ daemon.*;mail.*;\
news.err;\ news.err;\
*.=debug;*.=info;\ *.=debug;*.=info;\
*.=notice;*.=warn |/dev/xconsole *.=notice;*.=warn |/dev/xconsole

View File

@ -1,3 +1,2 @@
snmp_rocommunity: public snmp_rocommunity: public
snmp_location: public snmp_location: public

View File

@ -40,4 +40,3 @@ root ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives: # See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d #includedir /etc/sudoers.d

View File

@ -33,4 +33,3 @@ RuntimeMaxUse=50M
#MaxLevelKMsg=notice #MaxLevelKMsg=notice
#MaxLevelConsole=info #MaxLevelConsole=info
#MaxLevelWall=emerg #MaxLevelWall=emerg

View File

@ -86,4 +86,3 @@ if [ -n "$ACL_URL" ]; then
else else
echo "Skip ACL config download." echo "Skip ACL config download."
fi fi

View File

@ -49,4 +49,3 @@ RUN apt-get update \
COPY ["ptf_nn_agent.conf", "/etc/supervisor/conf.d/"] COPY ["ptf_nn_agent.conf", "/etc/supervisor/conf.d/"]
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -17,4 +17,3 @@ $(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /var/run/docker-syncd:/var/run/sswsyncd
$(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro $(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
$(DOCKER_SYNCD_BRCM)_BASE_IMAGE_FILES += bcmcmd:/usr/bin/bcmcmd $(DOCKER_SYNCD_BRCM)_BASE_IMAGE_FILES += bcmcmd:/usr/bin/bcmcmd

View File

@ -29,4 +29,3 @@ RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
RUN rm -rf /debs RUN rm -rf /debs
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -1,4 +1,3 @@
#!/bin/bash #!/bin/bash
docker exec -i syncd bcmcmd "$@" docker exec -i syncd bcmcmd "$@"

View File

@ -20,4 +20,3 @@ if [ -r ${PLATFORM_DIR}/led_proc_init.soc ]; then
/usr/bin/bcmcmd -t 60 "rcload ${PLATFORM_DIR}/led_proc_init.soc" /usr/bin/bcmcmd -t 60 "rcload ${PLATFORM_DIR}/led_proc_init.soc"
fi fi

View File

@ -26,4 +26,3 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -1,4 +1,3 @@
CAVM_PLATFORM_DEB = cavm_platform_modules.deb CAVM_PLATFORM_DEB = cavm_platform_modules.deb
$(CAVM_PLATFORM_DEB)_SRC_PATH = $(PLATFORM_PATH)/cavm_platform_modules $(CAVM_PLATFORM_DEB)_SRC_PATH = $(PLATFORM_PATH)/cavm_platform_modules
SONIC_MAKE_DEBS += $(CAVM_PLATFORM_DEB) SONIC_MAKE_DEBS += $(CAVM_PLATFORM_DEB)

View File

@ -31,4 +31,3 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
mv $(MAIN_TARGET) $(DEST)/ mv $(MAIN_TARGET) $(DEST)/
rm -rf $(DEB_BUILD_DIR) rm -rf $(DEB_BUILD_DIR)

View File

@ -1,3 +1,2 @@
mode=1 mode=1
hwId=as7512 hwId=as7512

View File

@ -5,4 +5,3 @@ rm -f /var/run/rsyslogd.pid
supervisorctl start rsyslogd supervisorctl start rsyslogd
supervisorctl start syncd supervisorctl start syncd

View File

@ -26,4 +26,3 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

View File

@ -19,4 +19,3 @@ $(LIBSAIREDIS)_DEPENDS += $(CAVM_SAI) $(CAVM_LIBSAI) $(LIBSAITHRIFT_DEV_CAVM)
# Runtime dependency on cavium sai is set only for syncd # Runtime dependency on cavium sai is set only for syncd
$(SYNCD)_RDEPENDS += $(CAVM_SAI) $(SYNCD)_RDEPENDS += $(CAVM_SAI)

View File

@ -49,4 +49,3 @@ RUN apt-get update \
COPY ["ptf_nn_agent.conf", "/etc/supervisor/conf.d/"] COPY ["ptf_nn_agent.conf", "/etc/supervisor/conf.d/"]
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -27,4 +27,3 @@ RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
RUN rm -rf /debs RUN rm -rf /debs
ENTRYPOINT ["/usr/bin/supervisord"] ENTRYPOINT ["/usr/bin/supervisord"]

View File

@ -5,4 +5,3 @@ rm -f /var/run/rsyslogd.pid
supervisorctl start rsyslogd supervisorctl start rsyslogd
supervisorctl start syncd supervisorctl start syncd

View File

@ -26,4 +26,3 @@ autostart=false
autorestart=false autorestart=false
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog

Some files were not shown because too many files have changed in this diff Show More