393c6911c5
Update Nokia-7215-A1 platform to address UT and OC test failures
12 lines
222 B
Bash
12 lines
222 B
Bash
#!/bin/bash
|
|
|
|
function SafePwrCycle() {
|
|
sync ; sync
|
|
sudo umount -fa > /dev/null 2&>1
|
|
|
|
# Write CPLD register to initiate cold reboot
|
|
sudo echo 0 > /sys/bus/i2c/devices/i2c-0/0-0041/cold_reset
|
|
}
|
|
|
|
SafePwrCycle
|