make the config un-install directory configurable, for Ubuntu
This commit is contained in:
parent
cd899a83d5
commit
e82e6fde67
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ fi
|
|||
uname_r=$(uname -r)
|
||||
|
||||
CONFIG=/boot/config.txt
|
||||
[ -f /boot/firmware/usercfg.txt ] && CONFIG=/boot/firmware/usercfg.txt
|
||||
|
||||
get_overlay() {
|
||||
ov=$1
|
||||
if grep -q -E "^dtoverlay=$ov" $CONFIG; then
|
||||
|
|
Loading…
Reference in a new issue