Add new file
This commit is contained in:
commit
1ce5a1ea5b
16
install.sh
Normal file
16
install.sh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
bye() {
|
||||||
|
echo "$1"
|
||||||
|
cd /
|
||||||
|
rm -rf $orig_dir
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
|
||||||
|
orig_dir=`pwd`
|
||||||
|
|
||||||
|
grep -v FAN_MIN_RPM_OVERRIDE_SUPPORT /etc/default/services > /tmp/services.$$
|
||||||
|
echo "FAN_MIN_RPM_OVERRIDE_SUPPORT=1" >> /tmp/services.$$
|
||||||
|
cp /tmp/services.$$ /etc/default/services
|
||||||
|
rm -f /tmp/services.$$
|
||||||
|
bye "Successfully enabled Fan Minimum RPM Override support."
|
Loading…
x
Reference in New Issue
Block a user