Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Yagami-Jiang committed Jul 25, 2023
1 parent 15f96d9 commit 9692f9e
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
#!/bin/bash
# Has customized those drivers,so rename them to lose effect
psu_driver=pddf_psu_driver_module.ko
fan_driver=pddf_fan_driver_module.ko
ker_name=$(uname -r)
driver_path=/usr/lib/modules/${ker_name}/extra/
if [ -e ${driver_path}${psu_driver} ]; then
mv ${driver_path}${psu_driver} ${driver_path}${psu_driver}-bk
fi

if [ -e ${driver_path}${fan_driver} ]; then
mv ${driver_path}${fan_driver} ${driver_path}${fan_driver}-bk
fi
echo 'pddf psu,fan driver module has rename now'

0 comments on commit 9692f9e

Please sign in to comment.