
The leading space before the shebang was causing apk to fail. [ci:skip-build]: Already built successfully in CI.
11 lines
476 B
Bash
11 lines
476 B
Bash
#!/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
|