Remove extra trailing newlines at EOF (#804)
Files now end with a single newline
This commit is contained in:
parent
2090cd341f
commit
f49cac086f
@ -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)
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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/*
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
|
||||||
|
@ -65,4 +65,3 @@ $IncludeConfig /etc/rsyslog.d/*.conf
|
|||||||
###############
|
###############
|
||||||
#### RULES ####
|
#### RULES ####
|
||||||
###############
|
###############
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -3,4 +3,3 @@
|
|||||||
rm -f /var/run/rsyslogd.pid
|
rm -f /var/run/rsyslogd.pid
|
||||||
|
|
||||||
supervisorctl start rsyslogd
|
supervisorctl start rsyslogd
|
||||||
|
|
||||||
|
@ -18,4 +18,3 @@ autostart=false
|
|||||||
autorestart=false
|
autorestart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
docker exec -it database redis-cli "$@"
|
docker exec -it database redis-cli "$@"
|
||||||
|
|
||||||
|
@ -10,4 +10,3 @@ autostart=true
|
|||||||
autorestart=false
|
autorestart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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}
|
||||||
|
|
||||||
|
@ -40,4 +40,3 @@ done
|
|||||||
|
|
||||||
# Start the DHCP relay
|
# Start the DHCP relay
|
||||||
supervisorctl start isc-dhcp-relay
|
supervisorctl start isc-dhcp-relay
|
||||||
|
|
||||||
|
@ -26,4 +26,3 @@ autostart=false
|
|||||||
autorestart=false
|
autorestart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -23,4 +23,3 @@ supervisorctl start rsyslogd
|
|||||||
service quagga start
|
service quagga start
|
||||||
|
|
||||||
supervisorctl start fpmsyncd
|
supervisorctl start fpmsyncd
|
||||||
|
|
||||||
|
@ -34,4 +34,3 @@ autostart=false
|
|||||||
autorestart=false
|
autorestart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -27,4 +27,3 @@ supervisorctl start rsyslogd
|
|||||||
service quagga start
|
service quagga start
|
||||||
|
|
||||||
supervisorctl start fpmsyncd
|
supervisorctl start fpmsyncd
|
||||||
|
|
||||||
|
@ -26,4 +26,3 @@ autostart=false
|
|||||||
autorestart=false
|
autorestart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -47,4 +47,3 @@ autostart=false
|
|||||||
autorestart=false
|
autorestart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -19,4 +19,3 @@ elif [ "$ASIC" == "cavium" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
exec /usr/bin/orchagent ${ORCHAGENT_ARGS}
|
exec /usr/bin/orchagent ${ORCHAGENT_ARGS}
|
||||||
|
|
||||||
|
@ -58,4 +58,3 @@ for file in $SWSSCONFIG_ARGS; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
config_acl
|
config_acl
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -23,4 +23,3 @@ if [ -e /usr/share/sonic/platform/fancontrol ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
supervisorctl start ledd
|
supervisorctl start ledd
|
||||||
|
|
||||||
|
@ -41,4 +41,3 @@ priority=5
|
|||||||
autostart=false
|
autostart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -15,4 +15,3 @@ supervisorctl start rsyslogd
|
|||||||
start_bcm
|
start_bcm
|
||||||
|
|
||||||
supervisorctl start saiserver
|
supervisorctl start saiserver
|
||||||
|
|
||||||
|
@ -26,4 +26,3 @@ autostart=false
|
|||||||
autorestart=false
|
autorestart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -5,4 +5,3 @@ rm -f /var/run/rsyslogd.pid
|
|||||||
supervisorctl start rsyslogd
|
supervisorctl start rsyslogd
|
||||||
|
|
||||||
supervisorctl start saiserver
|
supervisorctl start saiserver
|
||||||
|
|
||||||
|
@ -26,4 +26,3 @@ autostart=false
|
|||||||
autorestart=false
|
autorestart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -13,4 +13,3 @@ supervisorctl start rsyslogd
|
|||||||
start_mlnx
|
start_mlnx
|
||||||
|
|
||||||
supervisorctl start saiserver
|
supervisorctl start saiserver
|
||||||
|
|
||||||
|
@ -26,4 +26,3 @@ autostart=false
|
|||||||
autorestart=false
|
autorestart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -34,4 +34,3 @@ autostart=false
|
|||||||
autorestart=false
|
autorestart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
docker exec -i teamd teamdctl "$@"
|
docker exec -i teamd teamdctl "$@"
|
||||||
|
|
||||||
|
@ -27,4 +27,3 @@ rm -f /var/run/rsyslogd.pid
|
|||||||
supervisorctl start rsyslogd
|
supervisorctl start rsyslogd
|
||||||
|
|
||||||
supervisorctl start teamd
|
supervisorctl start teamd
|
||||||
|
|
||||||
|
@ -26,4 +26,3 @@ autostart=false
|
|||||||
autorestart=false
|
autorestart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -36,4 +36,3 @@ while true; do
|
|||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -38,4 +38,3 @@ case "$1" in
|
|||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -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 -%}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -10,4 +10,3 @@ case $reason in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -53,5 +53,3 @@ if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found/command-no
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -8,4 +8,3 @@ ExecStart=/usr/bin/interfaces-config.sh
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
@ -60,4 +60,3 @@
|
|||||||
kill -HUP $(cat /var/run/rsyslogd.pid)
|
kill -HUP $(cat /var/run/rsyslogd.pid)
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,4 +8,3 @@ ExecStart=/usr/bin/ntp-config.sh
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
@ -8,4 +8,3 @@ ExecStart=/usr/bin/rsyslog-config.sh
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
@ -68,4 +68,3 @@ $IncludeConfig /etc/rsyslog.d/*.conf
|
|||||||
###############
|
###############
|
||||||
#### RULES ####
|
#### RULES ####
|
||||||
###############
|
###############
|
||||||
|
|
||||||
|
@ -19,4 +19,3 @@ if $programname contains "teamd_" then {
|
|||||||
/var/log/teamd.log
|
/var/log/teamd.log
|
||||||
stop
|
stop
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,4 +68,3 @@ daemon.*;mail.*;\
|
|||||||
news.err;\
|
news.err;\
|
||||||
*.=debug;*.=info;\
|
*.=debug;*.=info;\
|
||||||
*.=notice;*.=warn |/dev/xconsole
|
*.=notice;*.=warn |/dev/xconsole
|
||||||
|
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
snmp_rocommunity: public
|
snmp_rocommunity: public
|
||||||
snmp_location: public
|
snmp_location: public
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -33,4 +33,3 @@ RuntimeMaxUse=50M
|
|||||||
#MaxLevelKMsg=notice
|
#MaxLevelKMsg=notice
|
||||||
#MaxLevelConsole=info
|
#MaxLevelConsole=info
|
||||||
#MaxLevelWall=emerg
|
#MaxLevelWall=emerg
|
||||||
|
|
||||||
|
@ -86,4 +86,3 @@ if [ -n "$ACL_URL" ]; then
|
|||||||
else
|
else
|
||||||
echo "Skip ACL config download."
|
echo "Skip ACL config download."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
docker exec -i syncd bcmcmd "$@"
|
docker exec -i syncd bcmcmd "$@"
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -26,4 +26,3 @@ autostart=false
|
|||||||
autorestart=false
|
autorestart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
mode=1
|
mode=1
|
||||||
hwId=as7512
|
hwId=as7512
|
||||||
|
|
||||||
|
@ -5,4 +5,3 @@ rm -f /var/run/rsyslogd.pid
|
|||||||
supervisorctl start rsyslogd
|
supervisorctl start rsyslogd
|
||||||
|
|
||||||
supervisorctl start syncd
|
supervisorctl start syncd
|
||||||
|
|
||||||
|
@ -26,4 +26,3 @@ autostart=false
|
|||||||
autorestart=false
|
autorestart=false
|
||||||
stdout_logfile=syslog
|
stdout_logfile=syslog
|
||||||
stderr_logfile=syslog
|
stderr_logfile=syslog
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
|
||||||
|
@ -5,4 +5,3 @@ rm -f /var/run/rsyslogd.pid
|
|||||||
supervisorctl start rsyslogd
|
supervisorctl start rsyslogd
|
||||||
|
|
||||||
supervisorctl start syncd
|
supervisorctl start syncd
|
||||||
|
|
||||||
|
@ -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
Reference in New Issue
Block a user