Skip to content

Commit

Permalink
hw-mgmt: config: Fix config files creation order on hw-mgmgmt start
Browse files Browse the repository at this point in the history
Fix config file creation order on hw-mgmt start

Bug: 4209209

Signed-off-by: Oleksandr Shamray <[email protected]>
  • Loading branch information
sholeksandr authored and felixradensky committed Dec 23, 2024
1 parent 141453d commit ab400b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion usr/usr/bin/hw-management.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3143,6 +3143,7 @@ do_start()
check_system
set_asic_pci_id
set_sodimms
set_config_data

if [ -v "lm_sensors_labels" ] && [ -f $lm_sensors_labels ]; then
ln -sf $lm_sensors_labels $config_path/lm_sensors_labels
Expand All @@ -3153,7 +3154,7 @@ do_start()
fi
touch $udev_ready
depmod -a 2>/dev/null
set_config_data

udevadm trigger --action=add
udevadm settle
set_sodimm_temp_limits
Expand Down

0 comments on commit ab400b3

Please sign in to comment.