e2502edefd
Why I did it To reduce the processing time of rc.local, refactoring s6100 platform initialization. Porting changes from 202012 branch [202012] Refactoring DELL platform init to reduce rc.local processing time #10171
9 lines
213 B
Bash
Executable File
9 lines
213 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ -d /sys/devices/platform/SMF.512/hwmon/ ]]; then
|
|
cd /sys/devices/platform/SMF.512/hwmon/*
|
|
echo 0xcc > mb_poweron_reason
|
|
fi
|
|
|
|
/usr/local/bin/s6100_platform_startup.sh deinit & > /dev/null
|