pmaports/device/testing/device-motorola-thea/device-motorola-thea.post-install

17 lines
423 B
Text
Raw Normal View History

2020-03-04 20:00:30 +00:00
#!/bin/sh
if [ -z "$(grep /mnt/firmware /etc/fstab)" ]; then
mkdir -p /mnt/firmware
echo "/dev/mmcblk0p1 /mnt/firmware auto ro 0 0" >> /etc/fstab
fi
if [ -z "$(grep /mnt/data /etc/fstab)" ]; then
mkdir -p /mnt/data
echo "/dev/mmcblk0p38 /mnt/data auto ro 0 0" >> /etc/fstab
fi
if [ -z "$(grep /mnt/persist /etc/fstab)" ]; then
mkdir -p /mnt/persist
echo "/dev/mmcblk0p29 /mnt/persist auto ro 0 0" >> /etc/fstab
fi