Set default volume in ES and don't integerscale on the RG351P

This commit is contained in:
fewtarius 2022-03-26 22:11:46 -04:00
parent 3afb6df1ee
commit 6f1254ad99
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -125,4 +125,9 @@ EOF
cp ${PKG_DIR}/sources/asound/${DEVICE}/* ${INSTALL}/usr/config/
fi
if [[ "${DEVICE}" =~ RG351P ]]
then
sed -i "s#.integerscale=1#.integerscale=0#g" ${INSTALL}/usr/config/system/configs/system.cfg
sed -i "s#audio.volume=.*$#audio.volume=100#g" ${INSTALL}/usr/config/system/configs/system.cfg
fi
}