7 lines
178 B
Bash
7 lines
178 B
Bash
#!/bin/sh
|
|
|
|
# Create mount point and /efs mount point in fstab
|
|
if [ -z "$(grep /efs /etc/fstab)" ]; then
|
|
mkdir -p /efs
|
|
echo "/dev/mmcblk0p1 /efs noauto ro 0 0" >> /etc/fstab
|
|
fi
|