sonic-buildimage/device/accton/x86_64-accton_as4630_54pe-r0
Mai Bui 5b0c4ec1e6
[device/accton] Replace os.system and remove subprocess with shell=True (#11985)
Signed-off-by: maipbui <maibui@microsoft.com>
#### Why I did it
`subprocess.Popen()` and `subprocess.run()` is used with `shell=True`, which is very dangerous for shell injection.
`os` - not secure against maliciously constructed input and dangerous if used to evaluate dynamic content
#### How I did it
Replace `os` by `subprocess`
Remove unused functions
2022-11-07 10:31:32 -05:00
..
Accton-AS4630-54PE Edgecore 4630/5835/7326/7816 API2.0 platform support (#10053) 2022-03-18 06:17:08 +05:30
pddf [Accton/PDDF] Support pddf to as4630/as7816/as7326 (#10340) 2022-04-01 09:55:04 -07:00
plugins [AS4630-54PE] Add SFP reset and lpmode sysfs (#8450) 2021-08-14 23:58:17 -07:00
sonic_platform [device/accton] Replace os.system and remove subprocess with shell=True (#11985) 2022-11-07 10:31:32 -05:00
custom_led.bin [device] Add as4630_54pe SDK configuration parameters (#5167) 2021-02-04 10:51:12 -08:00
default_sku
installer.conf [AS4630-54PE] Fix led drv and i2c bus order (#9170) 2022-03-04 17:40:27 -08:00
led_proc_init.soc [device/accton] as4630_54pe add custom_led.bin file (#4534) 2020-05-20 12:51:51 -07:00
media_settings.json [device/accton] Add pre-emphasis parameters for as4630_54pe (#4604) 2020-05-18 09:55:30 -07:00
pddf_support [Accton/PDDF] Support pddf to as4630/as7816/as7326 (#10340) 2022-04-01 09:55:04 -07:00
platform_asic Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
pmon_daemon_control.json [AS4630-54PE] Add to support PDDF (#8014) 2022-02-10 22:09:05 +05:30
sensors.conf [accton] Add sensors.conf to multiple models (#7494) 2021-05-12 12:42:20 -07:00
system_health_monitoring_config.json [AS4630-54PE] Add to support PDDF (#8014) 2022-02-10 22:09:05 +05:30