Hello,
I have a script which reads variable values from /system/pt.conf
I sourced it already.
But the probelm is I don't know how to edit only the value from the variable "res" in the conf file.
pt.conf:
res=1280x720
log=1
And I want to edit the value "1280x720" from "res".
I was trying
sed -i 's/$res/320x480/g' /system/pt.conf
But it didn't worked. Still the same value.