added ability to use auto-cpufreq-installer from any path (#65)
* added ability to use this script from any path
This commit is contained in:
parent
d0243806e9
commit
e1e09d0629
|
@ -3,6 +3,10 @@
|
|||
# auto-cpufreq-installer:
|
||||
# auto-cpufreq source code based installer
|
||||
|
||||
SCRIPT_PATH=$(readlink -f "$0")
|
||||
SCRIPT_DIR=$(dirname "${SCRIPT_PATH}")
|
||||
cd "${SCRIPT_DIR}"
|
||||
|
||||
distro="$(lsb_release -is)"
|
||||
release="$(lsb_release -rs)"
|
||||
codename="$(lsb_release -cs)"
|
||||
|
|
Loading…
Reference in New Issue