make the config un-install directory configurable, for Ubuntu
This commit is contained in:
parent
53c0db449b
commit
329c8090ea
|
@ -14,6 +14,8 @@ fi
|
||||||
uname_r=$(uname -r)
|
uname_r=$(uname -r)
|
||||||
|
|
||||||
CONFIG=/boot/config.txt
|
CONFIG=/boot/config.txt
|
||||||
|
[ -f /boot/firmware/usercfg.txt ] && CONFIG=/boot/firmware/usercfg.txt
|
||||||
|
|
||||||
get_overlay() {
|
get_overlay() {
|
||||||
ov=$1
|
ov=$1
|
||||||
if grep -q -E "^dtoverlay=$ov" $CONFIG; then
|
if grep -q -E "^dtoverlay=$ov" $CONFIG; then
|
||||||
|
|
Loading…
Reference in New Issue