File 80-acpi-container-hotplug.rules of Package systemd.openSUSE_Leap_42.2_Update
# ACPI0004 container offline for Huawei Kunlun
# do not edit this file, it will be overwritten on update
SUBSYSTEM=="container", ACTION=="change", ATTR{online}=="1", DEVPATH=="*/ACPI0004:??", \
RUN+="/bin/sh -c ' \
find -L /sys/$env{DEVPATH}/firmware_node/*/physical_node* -maxdepth 1 -name online | \
while read line; do \
if [ $(cat $line) -eq 1 ]; then \
/bin/echo 0 > $line; \
fi \
done; \
/bin/echo 0 > /sys/$env{DEVPATH}/online; '"