
Note by ollieparanoid: Based on Konrad Dybcio's great work in MR 1645. [ci:skip-build]: already built successfully in CI
11 lines
477 B
Text
11 lines
477 B
Text
#!/bin/sh
|
|
|
|
if [ -z "$(grep /dev/disk/by-partlabel/modem_a /etc/fstab)" ]; then
|
|
# Firmware shipped with the stock ROM, _a is always populated
|
|
echo "/dev/disk/by-partlabel/modem_a /opt/firmware/modem auto ro 0 0" >> /etc/fstab
|
|
fi
|
|
|
|
if [ -z "$(grep /dev/disk/by-partlabel/oem_a /etc/fstab)" ]; then
|
|
# ODM blobs provided by Sony Open Devices Project
|
|
echo "/dev/disk/by-partlabel/oem_a /opt/firmware/odm auto ro 0 0" >> /etc/fstab
|
|
fi
|